beliefer commented on code in PR #49564:
URL: https://github.com/apache/spark/pull/49564#discussion_r1929700782


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -1561,6 +1561,12 @@ private[sql] object QueryCompilationErrors extends 
QueryErrorsBase with Compilat
       messageParameters = Map("changes" -> changes.toString()))
   }
 
+  def hintUnsupportedForJdbcDatabasesError(jdbcDialect: String): 
AnalysisException = {
+    new AnalysisException(
+      errorClass = "HINT_UNSUPPORTED_FOR_JDBC_DIALECT",
+      messageParameters = Map("jdbcDialect" -> jdbcDialect))
+  }

Review Comment:
   The error is not belongs the scope of compilation.
   Please use `QueryExecutionErrors`.



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