zjuwangg commented on a change in pull request #10209: [FLINK-14688] Add table
related DDLs support in SQL Parser
URL: https://github.com/apache/flink/pull/10209#discussion_r347691191
##########
File path:
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/ddl/SqlAlterTable.java
##########
@@ -114,4 +110,8 @@ private void printIndent(SqlWriter writer) {
public String[] fullDatabaseName() {
return tableName.names.toArray(new String[0]);
}
+
+ public String[] fullNewDatabaseName() {
+ return newTableName.names.toArray(new String[0]);
Review comment:
Since now the newTableName can be written in `catlog`.`database`.`tableName`
format, we should support get the full path.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services