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

NumberFormatException in CSVIntermediateDataFormat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.99.4
    • no-release
    • connectors/generic
    • None

    Description

      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.

      Attachments

        1. attach1
          0.8 kB
          Heng Chen

        Activity

          People

            Unassigned Unassigned
            chenheng Heng Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified