MaxGekk commented on code in PR #41018:
URL: https://github.com/apache/spark/pull/41018#discussion_r1187512541


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -1269,7 +1278,7 @@ private[sql] object QueryCompilationErrors extends 
QueryErrorsBase {
 
   private def notSupportedInJDBCCatalog(cmd: String): Throwable = {
     new AnalysisException(
-      errorClass = "_LEGACY_ERROR_TEMP_1119",
+      errorClass = "NOT_SUPPORTED_OPERATION_IN_JDBC_CATALOG",
       messageParameters = Map("cmd" -> cmd))

Review Comment:
   Just wonder why you wrap `cmd` in `NOT_SUPPORTED_OPERATION_FOR_V2_TABLE` but 
don't wrap it here.



##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -1269,7 +1278,7 @@ private[sql] object QueryCompilationErrors extends 
QueryErrorsBase {
 
   private def notSupportedInJDBCCatalog(cmd: String): Throwable = {
     new AnalysisException(
-      errorClass = "_LEGACY_ERROR_TEMP_1119",
+      errorClass = "NOT_SUPPORTED_OPERATION_IN_JDBC_CATALOG",
       messageParameters = Map("cmd" -> cmd))

Review Comment:
   Just wonder why you wrap `cmd` in `NOT_SUPPORTED_OPERATION_FOR_V2_TABLE` but 
don't wrap it here.



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