public class FlinkRecomputeStatisticsProgram extends Object implements org.apache.flink.table.planner.plan.optimize.program.FlinkOptimizeProgram<org.apache.flink.table.planner.plan.optimize.program.BatchOptimizeContext>
It's a very heavy operation to get statistics from catalogs or connectors, so this centralized way can avoid getting statistics again and again.
Constructor and Description |
---|
FlinkRecomputeStatisticsProgram() |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rel.RelNode |
optimize(org.apache.calcite.rel.RelNode root,
org.apache.flink.table.planner.plan.optimize.program.BatchOptimizeContext context) |
public org.apache.calcite.rel.RelNode optimize(org.apache.calcite.rel.RelNode root, org.apache.flink.table.planner.plan.optimize.program.BatchOptimizeContext context)
optimize
in interface org.apache.flink.table.planner.plan.optimize.program.FlinkOptimizeProgram<org.apache.flink.table.planner.plan.optimize.program.BatchOptimizeContext>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.