You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Heng Chen (JIRA)" <ji...@apache.org> on 2015/03/30 10:24:53 UTC

[jira] [Updated] (SQOOP-2274) NumberFormatException in CSVIntermediateDataFormat

     [ https://issues.apache.org/jira/browse/SQOOP-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heng Chen updated SQOOP-2274:
-----------------------------
    Attachment: attach1

> NumberFormatException in CSVIntermediateDataFormat
> --------------------------------------------------
>
>                 Key: SQOOP-2274
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2274
>             Project: Sqoop
>          Issue Type: Bug
>          Components: connectors/generic
>    Affects Versions: 1.99.4
>            Reporter: Heng Chen
>         Attachments: attach1
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> In class CSVIntermediateDataFormat , line 188:
> if (fields[i].equals("NULL")) { 
>         out[i] = null;
>         continue;
> }
> in my database, i read 'null' from db.  But the conditions is equal 'NULL'. So it will throw NumberFormatException when convert into Interger or Float.



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