MaxGekk commented on code in PR #46731:
URL: https://github.com/apache/spark/pull/46731#discussion_r1713469742
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -6299,12 +6289,6 @@
"Class <className> doesn't implement interface
UserDefinedAggregateFunction."
]
},
- "_LEGACY_ERROR_TEMP_1331" : {
Review Comment:
You mentioned `1113` but is removing `1331`. Please, fix this.
##########
sql/core/src/test/resources/sql-tests/analyzer-results/change-column.sql.out:
##########
@@ -167,19 +167,12 @@ ALTER TABLE test_change CHANGE invalid_col TYPE INT
-- !query analysis
org.apache.spark.sql.AnalysisException
{
- "errorClass" : "_LEGACY_ERROR_TEMP_1331",
+ "errorClass" : "UNRESOLVED_COLUMN.WITH_SUGGESTION",
+ "sqlState" : "42703",
"messageParameters" : {
- "fieldName" : "invalid_col",
- "schema" : "root\n |-- a: integer (nullable = true)\n |-- b: string
(nullable = true)\n |-- c: integer (nullable = true)\n",
- "table" : "spark_catalog.default.test_change"
- },
- "queryContext" : [ {
Review Comment:
Is it possible to preserve a query context?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]