You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/04/17 08:31:57 UTC

[GitHub] [flink] docete commented on a change in pull request #11727: [FLINK-17106][table] Support create and drop view in Flink SQL

docete commented on a change in pull request #11727: [FLINK-17106][table] Support create and drop view in Flink SQL
URL: https://github.com/apache/flink/pull/11727#discussion_r410073663
 
 

 ##########
 File path: flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl
 ##########
 @@ -735,17 +731,24 @@ void PartitionSpecCommaList(SqlNodeList list) :
 }
 
 /**
-* Parses a create view or replace existing view statement.
-*   CREATE [OR REPLACE] VIEW view_name [ (field1, field2 ...) ] AS select_statement
+* Parses a create view or temporary view statement.
+*   CREATE [OR REPLACE] [TEMPORARY] VIEW [IF NOT EXISTS] view_name [ (field1, field2 ...) ]
 
 Review comment:
   No. We did support [OR REPLACE] keyword in SQL parser, but would not pass-through to planner. And we don't support [OR REPLACE] semantic in catalog now. see https://issues.apache.org/jira/browse/FLINK-17067

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services