You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2019/04/15 13:07:00 UTC
[jira] [Assigned] (SPARK-27459) Revise the exception message of
schema inference failure in file source V2
[ https://issues.apache.org/jira/browse/SPARK-27459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-27459:
-----------------------------------
Assignee: Gengliang Wang
> Revise the exception message of schema inference failure in file source V2
> --------------------------------------------------------------------------
>
> Key: SPARK-27459
> URL: https://issues.apache.org/jira/browse/SPARK-27459
> Project: Spark
> Issue Type: Task
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Trivial
>
> Since https://github.com/apache/spark/pull/23383/files#diff-db4a140579c1ac4b1dbec7fe5057eecaR36, the exception message of schema inference failure in file source V2 is `tableName`, which is equivalent to `shortName + path`.
> While in file source V1, the message is `Unable to infer schema from ORC/CSV/JSON...`.
> We should make the message in V2 consistent with V1, so that in the future migration the related test cases don't need to be midified. https://github.com/apache/spark/pull/24058#pullrequestreview-226364350
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org