panbingkun commented on code in PR #38972:
URL: https://github.com/apache/spark/pull/38972#discussion_r1044960581


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -109,6 +109,11 @@
       "The column <columnName> already exists. Consider to choose another name 
or rename the existing column."
     ]
   },
+  "COLUMN_NOT_FOUND" : {
+    "message" : [
+      "The column <colName> does not exist."

Review Comment:
   Done



##########
sql/core/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveSessionCatalog.scala:
##########
@@ -155,7 +155,7 @@ class ResolveSessionCatalog(val catalogManager: 
CatalogManager)
     case DescribeColumn(ResolvedV1TableIdentifier(ident), column, isExtended, 
output) =>
       column match {
         case u: UnresolvedAttribute =>
-          throw QueryCompilationErrors.columnDoesNotExistError(u.name)
+          throw QueryCompilationErrors.columnNotExistError(u.name)

Review Comment:
   Done



-- 
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]

Reply via email to