davidradl commented on code in PR #26379:
URL: https://github.com/apache/flink/pull/26379#discussion_r2026962975
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/config/OptimizerConfigOptions.java:
##########
@@ -105,6 +105,17 @@ public class OptimizerConfigOptions {
+
TABLE_OPTIMIZER_REUSE_SUB_PLAN_ENABLED.key()
+ " is true.");
+ @Documentation.TableOption(execMode =
Documentation.ExecMode.BATCH_STREAMING)
+ public static final ConfigOption<Boolean>
TABLE_OPTIMIZER_REUSE_SINK_ENABLED =
+ key("table.optimizer.reuse-sink-enabled")
+ .booleanType()
+ .defaultValue(false)
+ .withDescription(
+ "When it is true, the optimizer will try to find
out duplicated table sinks and "
+ + "reuse them. This works only when "
+ +
TABLE_OPTIMIZER_REUSE_SUB_PLAN_ENABLED.key()
Review Comment:
I am curious when would you have TABLE_OPTIMIZER_REUSE_SUB_PLAN_ENABLED set
and not want to reuse duplicates? i.e. is it feasible for us to extend what
TABLE_OPTIMIZER_REUSE_SUB_PLAN_ENABLED means rather than introduce a new flag?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]