JingsongLi commented on a change in pull request #12062:
URL: https://github.com/apache/flink/pull/12062#discussion_r425834906



##########
File path: 
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/filesystem/FileSystemOptions.java
##########
@@ -88,4 +88,48 @@
                                                        " If timestamp in 
partition is year, month, day, hour," +
                                                        " can configure: 
'$year-$month-$day $hour:00:00'." +
                                                        " If timestamp in 
partition is dt and hour, can configure: '$dt $hour:00:00'.");
+
+       public static final ConfigOption<String> SINK_PARTITION_COMMIT_TRIGGER =
+                       key("sink.partition-commit.trigger")
+                                       .stringType()
+                                       .defaultValue("partition-time")
+                                       .withDescription("Trigger type for 
partition commit:" +
+                                                       " 'partition-time': 
extract time from partition," +
+                                                       " if 'watermark' > 
'partition-time' + 'delay', will commit the partition." +
+                                                       " 'process-time': use 
processing time, if 'current processing time' > " +
+                                                       "'partition creation 
time' + 'delay', will commit the partition.");

Review comment:
       `"partition directory creation time"`




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to