Xiao Li created SPARK-23462:
-------------------------------
Summary: Improve the error message in `StructType`
Key: SPARK-23462
URL: https://issues.apache.org/jira/browse/SPARK-23462
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.3.0
Reporter: Xiao Li
The error message {{s"""Field "$name" does not exist."""}} is thrown when
looking up an unknown field in StructType. In the error message, we should also
contain the information about which columns/fields exist in this struct.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]