pan3793 commented on code in PR #52506:
URL: https://github.com/apache/spark/pull/52506#discussion_r2426490640
##########
sql/api/src/main/scala/org/apache/spark/sql/errors/CompilationErrors.scala:
##########
@@ -131,6 +132,18 @@ private[sql] trait CompilationErrors extends
DataTypeErrorsBase {
errorClass = "SPECIFY_CLUSTER_BY_WITH_BUCKETING_IS_NOT_ALLOWED",
messageParameters = Map.empty)
}
+
+ def cannotModifyValueOfStaticConfigError(key: String): Throwable = {
+ new AnalysisException(
+ errorClass = "CANNOT_MODIFY_STATIC_CONFIG",
+ messageParameters = Map("key" -> toSQLConf(key)))
Review Comment:
@LuciferYang I updated the code to remove the doc link since
`<docroot>/sql-migration-guide.html#ddl-statements` does not provide usage info
for this error
--
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]