You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/08/04 19:54:20 UTC

[jira] [Resolved] (SPARK-16895) Reading empty string from csv has changed behaviour

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

Sean Owen resolved SPARK-16895.
-------------------------------
    Resolution: Duplicate

In general, it's not true that a behavior change is a bug, when across major releases. I'm not sure whether this was intentional or not. But it's in any event a duplicate.

> Reading empty string from csv has changed behaviour
> ---------------------------------------------------
>
>                 Key: SPARK-16895
>                 URL: https://issues.apache.org/jira/browse/SPARK-16895
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Aseem Bansal
>
> I have a file called test.csv
> "a"
> ""
> When I read it in Spark 1.4 I get an empty string as value. When I read it in 2.0 I get "null" as the String.
> The testing code is same as mentioned at
> https://github.com/databricks/spark-csv/issues/367



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org