yaooqinn commented on a change in pull request #27197: [SPARK-30507][SQL]
TableCalalog reserved properties shoudn't be changed via options or tblpropeties
URL: https://github.com/apache/spark/pull/27197#discussion_r366882223
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
##########
@@ -2360,7 +2360,8 @@ class AstBuilder(conf: SQLConf) extends
SqlBaseBaseVisitor[AnyRef] with Logging
operationNotAllowed(
s"Values should not be specified for key(s): ${badKeys.mkString("[",
",", "]")}", ctx)
}
- props.keys.toSeq
+ val cleanedTableProperties = cleanTableProperties(ctx, props)
Review comment:
visitPropertyKeyValues need extra information to filter in create/replace
syntaxes. but here we just properties itself only this method is only used in
ALTER TABLE UNSET only and properties remain map type 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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]