gengliangwang commented on code in PR #37256:
URL: https://github.com/apache/spark/pull/37256#discussion_r931552510
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -2914,7 +2914,10 @@ object SQLConf {
buildConf("spark.sql.defaultColumn.allowedProviders")
.internal()
.doc("List of table providers wherein SQL commands are permitted to
assign DEFAULT column " +
- "values. Comma-separated list, whitespace ignored, case-insensitive.")
+ "values. Comma-separated list, whitespace ignored, case-insensitive.
If an asterisk " +
+ "appears after any table provider in this list, any command may assign
DEFAULT column " +
+ "except ALTER TABLE ... ADD COLUMN. Otherwise, if no asterisk appears,
all commands are " +
Review Comment:
Also, it would be great if we can have a simple explanation about why "alter
table add column" is special.
--
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]