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

The --hive-drop-import-delims option should accept a replacement string

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0-incubating
    • Component/s: hive-integration
    • Labels:
      None

      Description

      When importing data into hive, you have the option of dropping the hive delimiters in data fields. It would be more useful to replace the delimiters with a user defined string. Often times the dropped delimiters (like \n) are separating words. If I want to split on white space in my hive queries, I'll now get two words merged together. A more desirable behavior would be to replace it with a space. Making it user configurable will give the most flexibility.

        Attachments

        1. SQOOP-319-2.patch
          13 kB
          Joey Echeverria
        2. SQOOP-319-1.patch
          10 kB
          Joey Echeverria

          Activity

            People

            • Assignee:
              fwiffo Joey Echeverria
              Reporter:
              fwiffo Joey Echeverria
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: