You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2019/04/29 05:30:00 UTC

[jira] [Updated] (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 ]

Gengliang Wang updated SPARK-27459:
-----------------------------------
    Issue Type: Sub-task  (was: Task)
        Parent: SPARK-27589

> 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: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Trivial
>             Fix For: 3.0.0
>
>
> 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