Skip to content

Commit 0a9fb05

Browse files
Airbladertwalthr
authored andcommitted
[FLINK-22471][table-runtime-blink] Remove repetition of default values
1 parent e77dfdf commit 0a9fb05

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/filesystem/FileSystemOptions.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,21 @@ public class FileSystemOptions {
3838
.defaultValue("__DEFAULT_PARTITION__")
3939
.withDescription(
4040
"The default partition name in case the dynamic partition"
41-
+ " column value is null/empty string");
41+
+ " column value is null/empty string.");
4242

4343
public static final ConfigOption<MemorySize> SINK_ROLLING_POLICY_FILE_SIZE =
4444
key("sink.rolling-policy.file-size")
4545
.memoryType()
4646
.defaultValue(MemorySize.ofMebiBytes(128))
47-
.withDescription(
48-
"The maximum part file size before rolling (by default 128MB).");
47+
.withDescription("The maximum part file size before rolling.");
4948

5049
public static final ConfigOption<Duration> SINK_ROLLING_POLICY_ROLLOVER_INTERVAL =
5150
key("sink.rolling-policy.rollover-interval")
5251
.durationType()
5352
.defaultValue(Duration.ofMinutes(30))
5453
.withDescription(
5554
"The maximum time duration a part file can stay open before rolling"
56-
+ " (by default 30 min to avoid to many small files). The frequency at which"
55+
+ " (by default long enough to avoid too many small files). The frequency at which"
5756
+ " this is checked is controlled by the 'sink.rolling-policy.check-interval' option.");
5857

5958
public static final ConfigOption<Duration> SINK_ROLLING_POLICY_CHECK_INTERVAL =
@@ -71,7 +70,7 @@ public class FileSystemOptions {
7170
.withDescription(
7271
"The option to enable shuffle data by dynamic partition fields in sink"
7372
+ " phase, this can greatly reduce the number of file for filesystem sink but may"
74-
+ " lead data skew, the default value is disabled.");
73+
+ " lead data skew.");
7574

7675
public static final ConfigOption<Boolean> STREAMING_SOURCE_ENABLE =
7776
key("streaming-source.enable")

0 commit comments

Comments
 (0)