spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-16007) Empty DataFrame created with spark.read.csv() does not respect user specified schema
Date Wed, 06 Jul 2016 05:53:11 GMT

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

Reynold Xin updated SPARK-16007:
--------------------------------
    Target Version/s: 2.1.0  (was: 2.0.0)

> Empty DataFrame created with spark.read.csv() does not respect user specified schema
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-16007
>                 URL: https://issues.apache.org/jira/browse/SPARK-16007
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Tathagata Das
>            Assignee: Tathagata Das
>            Priority: Minor
>
> {{spark.schema(someSchema).csv().schema != someSchema}}
> The schema of the empty DF created with {{csv()}} has no fields.
> This problem will occur for json, text, parquet, orc.



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


Mime
View raw message