Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2664

Duplicate records found when split-by column is of type char(n)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.5
    • None
    • sqoop2-jdbc-connector
    • Hortonworks: 2.2.4.2
      Sqoop: 1.4.5
      MS SQL: R2008

    Description

      Hi,

      While working with SQOOP, we found an issue where records are duplicated while importing the data. This is seen when split-by column is of type char.

      We understand, ideally, integral columns with not null type must be chosen for split-by column, but in our case, all integral columns has null values. There is open bug (SQOOP - 2536) raised for this issue.

      But as sqoop have support for char datatype to be used in split-by column, and it giving unexpected results. Thus raising this bug.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mysti Dhaval Modi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: