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

Export to MySQL, --direct does not work correctly with --input-fields-terminated-by

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.0
    • None
    • None
    • Hive, CDH3, CentOS 5.8

    Description

      Exporting tab-separated Hive table to MySQL. When I use the option "--input-fields-terminated-by '\t'" everything works fine. The input is correctly parsed (at the tabs) and the output fields appear correctly within MySQL.

      But when I add the option --direct, the tabs are no longer recognized. The entire input row is placed into the first field of the MySQL table.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cconnell Chuck Connell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: