You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/12/17 04:29:13 UTC

[jira] [Commented] (SQOOP-1915) sqoop2: parseCSV in CSVIDF doesn't correctly parse strings with commas

    [ https://issues.apache.org/jira/browse/SQOOP-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14249407#comment-14249407 ] 

Veena Basavaraj commented on SQOOP-1915:
----------------------------------------

needs tests in parseCSVString() 

Thanks [~gwenshap] for filing it.

> sqoop2: parseCSV in CSVIDF doesn't correctly parse strings with commas
> ----------------------------------------------------------------------
>
>                 Key: SQOOP-1915
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1915
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Gwen Shapira
>            Assignee: Veena Basavaraj
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)