spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-30151) Issue better error message when user-specified schema not match relation schema
Date Tue, 10 Dec 2019 12:58:00 GMT

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

Wenchen Fan reassigned SPARK-30151:
-----------------------------------

    Assignee: wuyi

> Issue better error message when user-specified schema not match relation schema
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-30151
>                 URL: https://issues.apache.org/jira/browse/SPARK-30151
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: wuyi
>            Assignee: wuyi
>            Priority: Major
>
> In DataSource.resolveRelation(), when relation schema does not match user-specified schema,
it raises exception and says that "$className does not allow user-specified schemas."  However,
it does allow user-specified schema if it matches relation schema. Instead, we should issue
a better error message to tell user what is really happening here, e.g. clarify the mismatched
fields to user.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message