raminqaf commented on code in PR #28277:
URL: https://github.com/apache/flink/pull/28277#discussion_r3360843372


##########
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/ddl/materializedtable/SqlAlterMaterializedTableAsQuery.java:
##########
@@ -36,16 +36,24 @@ public class SqlAlterMaterializedTableAsQuery extends 
SqlAlterMaterializedTable
 
     private final SqlNode asQuery;
 
+    private final SqlParserPos asKeywordPos;
+
     public SqlAlterMaterializedTableAsQuery(
-            SqlParserPos pos, SqlIdentifier tableName, SqlNode asQuery) {
+            SqlParserPos pos, SqlIdentifier tableName, SqlNode asQuery, 
SqlParserPos asKeywordPos) {
         super(pos, tableName);
         this.asQuery = asQuery;
+        this.asKeywordPos = asKeywordPos;
     }
 
     public SqlNode getAsQuery() {
         return asQuery;
     }
 
+    /** Returns the parser position of the {@code AS} keyword. */
+    public SqlParserPos getAsKeywordPos() {

Review Comment:
   Please see: https://github.com/apache/flink/pull/28277#discussion_r3360842668



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