Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1705 SQOOP2: Support AVRO as a an implementation for the IDF interface
  3. SQOOP-1915

sqoop2: parseCSV in CSVIDF doesn't correctly parse strings with commas

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 1.99.5
    • None
    • None

    Description

      When creating a CSVIDF with a schema containing a single field (string or binary), then using setText("\"hello, world\"") and then getObjectData(), I expect to get an array, containing a string with "hello, world".

      Actual result:
      org.apache.sqoop.common.SqoopException: CSV_INTERMEDIATE_DATA_FORMAT_0005:Wrong number of columns. - The data "hello, world" has the wrong number of fields.

      Attachments

        Activity

          People

            vybs Veena Basavaraj
            gwenshap Gwen Shapira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: