Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-1049

Sqoop2: Record not imported if partition column value is NULL

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.2
    • Fix Version/s: 1.99.3
    • Component/s: None
    • Labels:
      None
    • Environment:

      Mysql

      Description

      In Sqoop2, if the partition column is NULL then record is not imported.

      For table t with id (int) and name columns, insert NULL value for id. where id is partition column. Then perform import from Sqoop2 and now id with NULL value is not imported.

        Attachments

        1. SQOOP-1049.1.patch
          9 kB
          Mengwei Ding
        2. SQOOP-1049.2.patch
          7 kB
          Mengwei Ding
        3. SQOOP-1049.3.patch
          9 kB
          Mengwei Ding
        4. SQOOP-1049.4.patch
          9 kB
          Mengwei Ding

          Issue Links

            Activity

              People

              • Assignee:
                mengweid Mengwei Ding
                Reporter:
                vasanthkumar Vasanth kumar RJ
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: