Tartarus0zm commented on code in PR #20469: URL: https://github.com/apache/flink/pull/20469#discussion_r940022303
########## flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/FileSystemCommitter.java: ########## @@ -83,7 +87,17 @@ public void commitPartitions() throws Exception { List<Path> taskPaths = listTaskTemporaryPaths(fs, tmpPath); try (PartitionLoader loader = - new PartitionLoader(overwrite, fs, metaStoreFactory, isToLocal)) { + new PartitionLoader( + overwrite, + fs, + metaStoreFactory, + isToLocal, + flinkConfig.get( Review Comment: Based on your suggestions, I pass `PartitionCommitPolicy` to `PartitionLoader`, when `PartitionCommitPolicy` is not null, apply this policy. -- 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