Uploaded image for project: 'Sqoop (READ-ONLY)'
  1. Sqoop (READ-ONLY)
  2. SQOOP-110

Allow empty strings to represent NULL values in export.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Some custom adapters for Sqoop convert null values to empty strings when importing as textfile. This causes failure when the same file is imported back since Sqoop expects the null values to be represented by the string 'null'.

      In order to support this use case, Sqoop should allow the interpretation of empty strings as null values provided the datatype is not String. Extending this support for String types will be a problem for databases that do distinguish between null value and empty string.

        Attachments

          Activity

            People

            • Assignee:
              arvind Arvind Prabhakar
              Reporter:
              arvind Arvind Prabhakar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: