srielau commented on code in PR #46267:
URL: https://github.com/apache/spark/pull/46267#discussion_r1594819220


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -1700,6 +1700,21 @@ object SQLConf {
     .booleanConf
     .createWithDefault(true)
 
+  val VIEW_SCHEMA_BINDING = buildConf("spark.sql.defaultViewSchemaBinding")
+    .doc("Control the default behavior of views when the underlying schema 
changes. " +
+      "Valid values are: " +
+      "'BINDING': Safe casts only. " +

Review Comment:
   @gengliangwang @cloud-fan 
   I have reduced the config to DISABLED/COMPENSATION. That makes it de-factor 
a feature flag with the option to extend it to a session level default config 
of the need arises.
   



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to