Stefan Bukorovic created SPARK-48489:
----------------------------------------
Summary: Throw an user-facing error when reading invalid schema
from text DataSource
Key: SPARK-48489
URL: https://issues.apache.org/jira/browse/SPARK-48489
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.4.3
Reporter: Stefan Bukorovic
Text DataSource produces table schema with only 1 column, but it is possible to
try and create a table with schema having multiple columns.
Currently, when user tries this, we have an assert in the code, which fails and
throws internal spark error. We should throw a better user-facing error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]