You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2016/04/07 16:37:25 UTC

[jira] [Created] (SPARK-14458) Wrong data schema is passed to FileFormat data sources that can't infer schema

Cheng Lian created SPARK-14458:
----------------------------------

             Summary: Wrong data schema is passed to FileFormat data sources that can't infer schema
                 Key: SPARK-14458
                 URL: https://issues.apache.org/jira/browse/SPARK-14458
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.0.0
            Reporter: Cheng Lian
            Assignee: Cheng Lian


When instantiating a {{FileFormat}} data source that is not able to infer its schema from data files, {{DataSource}} passes the full schema including partition columns to {{HadoopFsRelation}}. We should filter out partition columns and only preserve data columns actually live in data files.



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