Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -390,18 +390,18 @@ private static void convertFlussTablePropertiesToFlinkOptions(

public static List<TableChange> toFlussTableChanges(
org.apache.flink.table.catalog.TableChange tableChange) {
if (tableChange
instanceof org.apache.flink.table.catalog.TableChange.MaterializedTableChange) {
// MaterializedTableChange may produce multiple fluss TableChange,
return convertMaterializedTableChange(tableChange);
} else if (tableChange instanceof org.apache.flink.table.catalog.TableChange.SetOption) {
if (tableChange instanceof org.apache.flink.table.catalog.TableChange.SetOption) {
return Collections.singletonList(
convertSetOption(
(org.apache.flink.table.catalog.TableChange.SetOption) tableChange));
} else if (tableChange instanceof org.apache.flink.table.catalog.TableChange.ResetOption) {
return Collections.singletonList(
convertResetOption(
(org.apache.flink.table.catalog.TableChange.ResetOption) tableChange));
} else if (tableChange instanceof ModifyRefreshStatus
|| tableChange instanceof ModifyRefreshHandler) {
// MaterializedTableChange may produce multiple fluss TableChange.
return convertMaterializedTableChange(tableChange);
} else {
throw new UnsupportedOperationException(
String.format("Unsupported flink table change: %s.", tableChange));
Expand Down