Skip to content

Commit

Permalink
fix typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck committed Sep 21, 2023
1 parent f6170cc commit a48f4d1
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public Integer writeParallelism() {
public Duration tableRefreshInterval() {
return confParser
.durationConf()
.option(FlinkWriteOptions.TABLE_REFRSH_INTERVAL.key())
.flinkConfig(FlinkWriteOptions.TABLE_REFRSH_INTERVAL)
.option(FlinkWriteOptions.TABLE_REFRESH_INTERVAL.key())
.flinkConfig(FlinkWriteOptions.TABLE_REFRESH_INTERVAL)
.parseOptional();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ private FlinkWriteOptions() {}
ConfigOptions.key("write-parallelism").intType().noDefaultValue();

@Experimental
public static final ConfigOption<Duration> TABLE_REFRSH_INTERVAL =
public static final ConfigOption<Duration> TABLE_REFRESH_INTERVAL =
ConfigOptions.key("table-refresh-interval").durationType().noDefaultValue();
}
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public void testWriteRowWithTableRefreshInterval() throws Exception {
.map(CONVERTER::toInternal, FlinkCompatibilityUtil.toTypeInfo(SimpleDataUtil.ROW_TYPE));

Configuration flinkConf = new Configuration();
flinkConf.setString(FlinkWriteOptions.TABLE_REFRSH_INTERVAL.key(), "100ms");
flinkConf.setString(FlinkWriteOptions.TABLE_REFRESH_INTERVAL.key(), "100ms");

FlinkSink.forRowData(dataStream)
.table(table)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public Integer writeParallelism() {
public Duration tableRefreshInterval() {
return confParser
.durationConf()
.option(FlinkWriteOptions.TABLE_REFRSH_INTERVAL.key())
.flinkConfig(FlinkWriteOptions.TABLE_REFRSH_INTERVAL)
.option(FlinkWriteOptions.TABLE_REFRESH_INTERVAL.key())
.flinkConfig(FlinkWriteOptions.TABLE_REFRESH_INTERVAL)
.parseOptional();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ private FlinkWriteOptions() {}
ConfigOptions.key("write-parallelism").intType().noDefaultValue();

@Experimental
public static final ConfigOption<Duration> TABLE_REFRSH_INTERVAL =
public static final ConfigOption<Duration> TABLE_REFRESH_INTERVAL =
ConfigOptions.key("table-refresh-interval").durationType().noDefaultValue();
}
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public void testWriteRowWithTableRefreshInterval() throws Exception {
.map(CONVERTER::toInternal, FlinkCompatibilityUtil.toTypeInfo(SimpleDataUtil.ROW_TYPE));

Configuration flinkConf = new Configuration();
flinkConf.setString(FlinkWriteOptions.TABLE_REFRSH_INTERVAL.key(), "100ms");
flinkConf.setString(FlinkWriteOptions.TABLE_REFRESH_INTERVAL.key(), "100ms");

FlinkSink.forRowData(dataStream)
.table(table)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public Integer writeParallelism() {
public Duration tableRefreshInterval() {
return confParser
.durationConf()
.option(FlinkWriteOptions.TABLE_REFRSH_INTERVAL.key())
.flinkConfig(FlinkWriteOptions.TABLE_REFRSH_INTERVAL)
.option(FlinkWriteOptions.TABLE_REFRESH_INTERVAL.key())
.flinkConfig(FlinkWriteOptions.TABLE_REFRESH_INTERVAL)
.parseOptional();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ private FlinkWriteOptions() {}
ConfigOptions.key("write-parallelism").intType().noDefaultValue();

@Experimental
public static final ConfigOption<Duration> TABLE_REFRSH_INTERVAL =
public static final ConfigOption<Duration> TABLE_REFRESH_INTERVAL =
ConfigOptions.key("table-refresh-interval").durationType().noDefaultValue();
}
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public void testWriteRowWithTableRefreshInterval() throws Exception {
.map(CONVERTER::toInternal, FlinkCompatibilityUtil.toTypeInfo(SimpleDataUtil.ROW_TYPE));

Configuration flinkConf = new Configuration();
flinkConf.setString(FlinkWriteOptions.TABLE_REFRSH_INTERVAL.key(), "100ms");
flinkConf.setString(FlinkWriteOptions.TABLE_REFRESH_INTERVAL.key(), "100ms");

FlinkSink.forRowData(dataStream)
.table(table)
Expand Down

0 comments on commit a48f4d1

Please sign in to comment.