Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.1
Description
In the document of Streaming Aggregation , there are some misleading code examples, e.g.
// instantiate table environment TableEnvironment tEnv = ...tEnv.getConfig() // access high-level configuration .getConfiguration() // set low-level key-value options .setString("table.exec.mini-batch.enabled", "true") // enable mini-batch optimization .setString("table.exec.mini-batch.allow-latency", "5 s") // use 5 seconds to buffer input records .setString("table.exec.mini-batch.size", "5000"); // the maximum number of records can be buffered by each aggregate operator task
It seems `Configuration` supports method chaining, while it's not true since the return type of `Configuration#setString` is Void.
So what about making `Configuration` support method chaining, or updating the documentation?
Attachments
Issue Links
- relates to
-
FLINK-14835 Make `org.apache.flink.configuration.Configuration` support method chaining
- Closed
- links to