Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16462

Spark 2.0 CSV does not cast null values to certain data types properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • SQL
    • None

    Description

      When casting given string datum to specified type, CSV should return null for nullable types if datum == options.nullValue.

      However, for certain data types like Boolean, TimestampType, DateType, CSV in 2.0 does not return null for some "empty" datum. This is a regression comparing to 1.6.

      Attachments

        Issue Links

          Activity

            People

              proflin Liwei Lin(Inactive)
              proflin Liwei Lin(Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: