snuyanzin commented on code in PR #27327:
URL: https://github.com/apache/flink/pull/27327#discussion_r2598187015
##########
flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl:
##########
@@ -2158,11 +2158,30 @@ SqlAlterMaterializedTable SqlAlterMaterializedTable() :
ctx.watermark);
}
|
- <MODIFY> <DISTRIBUTION> {
- return new SqlAlterMaterializedTableModifyDistribution(
- startPos.plus(getPos()),
- tableIdentifier,
- SqlDistribution(getPos()));
+ <MODIFY>
+ (
+ <DISTRIBUTION> {
+ return new SqlAlterMaterializedTableModifyDistribution(
+ startPos.plus(getPos()),
+ tableIdentifier, SqlDistribution(getPos()));
+ }
+ |
+ AlterTableAddOrModify(ctx)
+ |
+ <LPAREN>
Review Comment:
`<LPAREN>` means there will be a token parsed if it faces `(` in sql
`(` is just a part of syntax which has nothing to do with `<LPAREN>`
--
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]