fsk119 commented on a change in pull request #15018:
URL: https://github.com/apache/flink/pull/15018#discussion_r588262154
##########
File path:
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableConfig.java
##########
@@ -75,7 +75,17 @@
private MathContext decimalContext = MathContext.DECIMAL128;
/** A configuration object to hold all key/value configuration. */
- private Configuration configuration = new Configuration();
+ private final Configuration configuration;
+
+ /** Create TableConfig with default configuration. */
+ public TableConfig() {
+ this.configuration = new Configuration();
+ }
+
+ /** Create TableConfig with specified configuration. */
+ public TableConfig(Configuration configuration) {
Review comment:
Yes. But I think it's just a shortcut.
----------------------------------------------------------------
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]