MaxGekk commented on code in PR #41018:
URL: https://github.com/apache/spark/pull/41018#discussion_r1187518057
##########
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:
because we have some arbitrary text after SQL statements like:
```sql
CREATE NAMESPACE with property $k
```
If so, how about to add sub-classes the commands related to properties?
--
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]