lsyldliu commented on code in PR #20858:
URL: https://github.com/apache/flink/pull/20858#discussion_r975004456
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/operations/ddl/CreateTableASOperation.java:
##########
@@ -38,25 +38,28 @@ public class CreateTableASOperation implements
CreateOperation {
private final Map<String, String> sinkModifyStaticPartitions;
private final QueryOperation sinkModifyQuery;
private final boolean sinkModifyOverwrite;
+ private final ContextResolvedTable contextResolvedTable;
public CreateTableASOperation(
CreateTableOperation createTableOperation,
Map<String, String> sinkModifyStaticPartitions,
QueryOperation sinkModifyQuery,
- boolean sinkModifyOverwrite) {
+ boolean sinkModifyOverwrite,
+ ContextResolvedTable contextResolvedTable) {
this.createTableOperation = createTableOperation;
this.sinkModifyStaticPartitions = sinkModifyStaticPartitions;
this.sinkModifyQuery = sinkModifyQuery;
this.sinkModifyOverwrite = sinkModifyOverwrite;
+ this.contextResolvedTable = contextResolvedTable;
}
public CreateTableOperation getCreateTableOperation() {
return createTableOperation;
}
- public SinkModifyOperation toSinkModifyOperation(CatalogManager
catalogManager) {
+ public SinkModifyOperation toSinkModifyOperation() {
Review Comment:
Please revert the changes in this class, it is no need now.
##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/SqlCreateTableConverter.java:
##########
@@ -121,8 +121,13 @@ Operation convertCreateTableAS(
sqlCreateTableAs.isIfNotExists(),
sqlCreateTableAs.isTemporary());
+ ContextResolvedTable contextResolvedTable =
Review Comment:
Ditto
--
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]