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/07/31 10:23:43 UTC
[GitHub] [flink] danny0405 commented on a change in pull request #13037: [FLINK-18756][table-api] Support IF NOT EXISTS for CREATE TABLE statement
danny0405 commented on a change in pull request #13037:
URL: https://github.com/apache/flink/pull/13037#discussion_r463530824
##########
File path: flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl
##########
@@ -735,6 +736,11 @@ SqlCreate SqlCreateTable(Span s, boolean replace, boolean isTemporary) :
{
<TABLE>
+ [
+ LOOKAHEAD(3)
+ <IF> <NOT> <EXISTS> { ifNotExists = true; }
Review comment:
We can use `IfNotExistsOpt` parse block directly.
----------------------------------------------------------------
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