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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0-incubating
    • hive-integration
    • 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-1.patch
          10 kB
          Joey Echeverria
        2. SQOOP-319-2.patch
          13 kB
          Joey Echeverria

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: