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: [email protected]
For additional commands, e-mail: [email protected]