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/14 17:12:00 UTC

[jira] [Created] (SPARK-27459) Revise the exception message of schema inference failure in file source V2

Gengliang Wang created SPARK-27459:
--------------------------------------

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


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