THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Status
Current state: "Under Discussion"
Discussion thread: here (<- link to https://mail-archives.apache.org/mod_mbox/flink-dev/)
JIRA: here (<- link to https://issues.apache.org/jira/browse/FLINK-XXXX)
...
Page properties | ||||||||
---|---|---|---|---|---|---|---|---|
|
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
key | setting | type | Class to place it in | ||||
---|---|---|---|---|---|---|---|
table.exec.min-idle-state-retention | TableConfig#setIdleStateRetentionTime | Duration | ExecutionConfigOptions | ||||
table.exec.max-idle-state-retention | TableConfig#setIdleStateRetentionTime | Duration | ExecutionConfigOptions | ||||
table.planner.sql-dialect | TableConfig#setSqlDialect | Enum<SqlDialect> | PlannerConfigOptions | ||||
table.planner.time-zone-id | TableConfig#setLocalTimeZone | String (ZoneId.of()) | PlannerConfigOptions | table.planner.null-check | TableConfig#setNullCheck | Boolean | PlannerConfigOptions |
table.planner.max-generated-code | TableConfig#setMaxGeneratedCodeLength | Integer | PlannerConfigOptions | ||||
table.planner.math-context.precision | TableConfig#setDecimalContext | Integer (precision of MatchContextMathContext) | PlannerConfigOptions | ||||
table.planner.math-context.rounding-mode | TableConfig#setDecimalContext | Enum<MatchContext.RoundingMode> | PlannerConfigOptions |
...
- change the class to be an interface.
- Remove getConfiguration method
- Remove getDefault method
- Make TableConfig extend from ReadableConfig & WritableConfig
- Deprecate {{setNullCheck}}
Code Block |
---|
@PublicEvolving public interface TableConfig extends ReadableConfig, WritableConfig { /* Old setters/getters that will be stored in a Configuration in the TableConfigImpl. */ ..... /** * Returns the current SQL dialect. */ SqlDialect getSqlDialect(); /** * Sets the current SQL dialect to parse a SQL query. Flink's SQL behavior by default. */ void setSqlDialect(SqlDialect sqlDialect); ...... /* Methods inherited from ReadableConfig/WritableConfig <T> TableConfig set(ConfigOption<T> option, T value); <T> Optional<T> getOptional(ConfigOption<T> option); <T> T get(ConfigOption<T> option); */ /* Methods to be dropped: public static TableConfig getDefault(); public Configuration getConfiguration(); */ } |
...