snuyanzin commented on code in PR #27327:
URL: https://github.com/apache/flink/pull/27327#discussion_r2598193122
##########
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:
it just says that if it meets something matching
inside `(...)*` then it should expect it arbitrary amount of times
--
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]