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


##########
docs/sql-ref-syntax-ddl-create-view.md:
##########
@@ -61,6 +61,17 @@ CREATE [ OR REPLACE ] [ [ GLOBAL ] TEMPORARY ] VIEW [ IF NOT 
EXISTS ] view_ident
     * `[ ( column_name [ COMMENT column_comment ], ... ) ]` to specify 
column-level comments.
     * `[ COMMENT view_comment ]` to specify view-level comments.
     * `[ TBLPROPERTIES ( property_name = property_value [ , ... ] ) ]` to add 
metadata key-value pairs.
+    * `[ WITH SCHEMA { BINDING | COMPENSATION | [ TYPE ] EVOLUTION } ]` to 
specify how the view reacts to schema changes
+
+      This clause is not supported for `TEMPORARY` views.

Review Comment:
   Temporary views are governed by the config. If the feature is disabled its 
unchanged (BINDING ). Otherwise COMPENSATION (our new default).
    



-- 
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]

Reply via email to