JingsongLi commented on a change in pull request #13729:
URL: https://github.com/apache/flink/pull/13729#discussion_r517157699
##########
File path:
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/filesystem/FileSystemOptions.java
##########
@@ -74,24 +74,37 @@
" NOTES: Please make
sure that each partition/file should be written" +
" atomically, otherwise
the reader may get incomplete data.");
+ public static final ConfigOption<String>
STREAMING_SOURCE_PARTITION_INCLUDE =
+ key("streaming-source.partition.include")
+ .stringType()
+ .defaultValue("all")
+ .withDescription("Option to set the
partitions to read, the supported values " +
+ "are \"all\" and
\"latest\"," +
+ " the \"all\" means
read all partitions; the \"latest\" means read latest " +
+ "partition in order of
streaming-source.partition.order, the \"latest\" only works" +
+ " when the streaming
hive source table used as temporal table. " +
+ "By default the option
is \"all\".\n.");
+
public static final ConfigOption<Duration>
STREAMING_SOURCE_MONITOR_INTERVAL =
key("streaming-source.monitor-interval")
.durationType()
.defaultValue(Duration.ofMinutes(1))
Review comment:
I think it is better to remove this default value
----------------------------------------------------------------
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:
[email protected]