hql0312 commented on code in PR #3985: URL: https://github.com/apache/flink-cdc/pull/3985#discussion_r2048454730
########## flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/org/apache/flink/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContext.java: ########## @@ -366,4 +381,15 @@ public String getPluginName() { sourceConfig.getDbzProperties().getProperty(PLUGIN_NAME.name())) .getPostgresPluginName(); } + + private boolean isBackFillSplit(SourceSplitBase sourceSplitBase) { + if (sourceSplitBase instanceof StreamSplit) { + StreamSplit streamSplit = (StreamSplit) sourceSplitBase; + // when backfilled, will send specified table schema. + return !StreamSplit.STREAM_SPLIT_ID.equalsIgnoreCase(streamSplit.splitId()) + && streamSplit.getTableSchemas() != null Review Comment: @loserwang1024 please review again. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org