jnh5y commented on code in PR #24073: URL: https://github.com/apache/flink/pull/24073#discussion_r1452482693
########## flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl: ########## @@ -1348,6 +1352,29 @@ SqlCreate SqlCreateTable(Span s, boolean replace, boolean isTemporary) : String p = SqlParserUtil.parseString(token.image); comment = SqlLiteral.createCharString(p, getPos()); }] + [ + <DISTRIBUTED> + ( + <INTO> { bucketCount = Literal(); } <BUCKETS> + | + ( + <BY> ( + <HASH> { distributionKind = "HASH"; } + | <RANGE> { distributionKind = "RANGE"; } + | { distributionKind = null; } Review Comment: Yeah, that could make sense. Are there any other obvious enums in the SQL Parser that I can/should crib off of? -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org