Wenchen Fan created SPARK-58103:
-----------------------------------
Summary: Assign a name to the error condition
_LEGACY_ERROR_TEMP_2228
Key: SPARK-58103
URL: https://issues.apache.org/jira/browse/SPARK-58103
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 5.0.0
Reporter: Wenchen Fan
Replace the legacy error condition _LEGACY_ERROR_TEMP_2228, raised when a
UserDefinedType class named in a schema string cannot be loaded, with the
descriptive condition UDT_CLASS_NOT_FOUND (SQLSTATE 38000). Add a
WITHOUT_USER_CLASS subclass for the DataType.fromJson path (a missing UDT class
currently surfaces as a raw ClassNotFoundException with no error class) and
reuse the FOR_USER_CLASS subclass for the existing UDTRegistration path.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]