Abinaya Jayaprakasam created SPARK-54541:
--------------------------------------------
Summary: Rename _LEGACY_ERROR_TEMP_1007 and add sqlState
Key: SPARK-54541
URL: https://issues.apache.org/jira/browse/SPARK-54541
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 4.1.0
Reporter: Abinaya Jayaprakasam
_LEGACY_ERROR_TEMP_1007 is used for the error "Cannot write into temp view
as it's not a data source v2 relation" but lacks a descriptive error name
and sqlState.
This is a frequent error that needs standardization.
Proposed changes:
1. Rename to: TEMP_VIEW_WRITE_NOT_ALLOWED
2. Add sqlState: 42623 (consistent with other write operation errors)
3. Update references in QueryCompilationErrors.scala
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]