[
https://issues.apache.org/jira/browse/SPARK-16462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liwei Lin updated SPARK-16462:
------------------------------
Summary: Spark 2.0 CSV does not cast null values to certain data types
properly (was: Spark 2.0 CSV does not handle null values for certain data
types properly)
> Spark 2.0 CSV does not cast null values to certain data types properly
> ----------------------------------------------------------------------
>
> Key: SPARK-16462
> URL: https://issues.apache.org/jira/browse/SPARK-16462
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Liwei Lin
>
> CSV should return {{null}} for nullable types if the string datum is "empty".
> However, for certain data types like {{Boolean}}, {{TimestampType}},
> {{DateType}}, CSV in 2.0 does not return {{null}} for "empty" datum. This is
> a regression comparing to 1.6.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]