forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-42306][SQL] Integrate
_LEGACY_ERROR_TEMP_1317
into `UNRESOLV…
…ED_COLUMN.WITH_SUGGESTION` ### What changes were proposed in this pull request? This PR proposes to integrate `_LEGACY_ERROR_TEMP_1317` into `UNRESOLVED_COLUMN.WITH_SUGGESTION`. **_LEGACY_ERROR_TEMP_1317** ```json "_LEGACY_ERROR_TEMP_1317" : { "message" : [ "Cannot resolve column name \"<colName>\" among (<fieldsStr>)<extraMsg>" ] }, ``` **UNRESOLVED_COLUMN.WITH_SUGGESTION** ```json "UNRESOLVED_COLUMN" : { "message" : [ "A column or function parameter with name <objectName> cannot be resolved." ], "subClass" : { "WITHOUT_SUGGESTION" : { "message" : [ "" ] }, "WITH_SUGGESTION" : { "message" : [ "Did you mean one of the following? [<proposal>]." ] } }, "sqlState" : "42703" }, ``` ### Why are the changes needed? We should assign proper name to _LEGACY_ERROR_TEMP_* ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? `./build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*"` Closes apache#39877 from itholic/LEGACY_1317. Authored-by: itholic <haejoon.lee@databricks.com> Signed-off-by: Max Gekk <max.gekk@gmail.com>
- Loading branch information
Showing
6 changed files
with
51 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters