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:09:53 UTC

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

Heng Chen created SQOOP-2274:
--------------------------------

             Summary: 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


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)