davidradl commented on code in PR #27327:
URL: https://github.com/apache/flink/pull/27327#discussion_r2598174362


##########
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:
   nit: I am curious why do we have a mix of `LPAREN` and `( ` . I assume we 
should use LPAREN for all left brackets so it uses the grammar constant. 



-- 
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]

Reply via email to