Search in sources :

Example 1 with FlinkLogicalWindowTableAggregate

use of org.apache.flink.table.planner.plan.nodes.logical.FlinkLogicalWindowTableAggregate in project flink by apache.

the class RelTimeIndicatorConverter method visitWindowTableAggregate.

private RelNode visitWindowTableAggregate(FlinkLogicalWindowTableAggregate tableAgg) {
    FlinkLogicalWindowAggregate correspondingAgg = new FlinkLogicalWindowAggregate(tableAgg.getCluster(), tableAgg.getTraitSet(), tableAgg.getInput(), tableAgg.getGroupSet(), tableAgg.getAggCallList(), tableAgg.getWindow(), tableAgg.getNamedProperties());
    FlinkLogicalWindowAggregate convertedWindowAgg = visitWindowAggregate(correspondingAgg);
    return new FlinkLogicalWindowTableAggregate(tableAgg.getCluster(), tableAgg.getTraitSet(), convertedWindowAgg.getInput(), tableAgg.getGroupSet(), tableAgg.getGroupSets(), convertedWindowAgg.getAggCallList(), tableAgg.getWindow(), tableAgg.getNamedProperties());
}
Also used : FlinkLogicalWindowTableAggregate(org.apache.flink.table.planner.plan.nodes.logical.FlinkLogicalWindowTableAggregate) FlinkLogicalWindowAggregate(org.apache.flink.table.planner.plan.nodes.logical.FlinkLogicalWindowAggregate)

Aggregations

FlinkLogicalWindowAggregate (org.apache.flink.table.planner.plan.nodes.logical.FlinkLogicalWindowAggregate)1 FlinkLogicalWindowTableAggregate (org.apache.flink.table.planner.plan.nodes.logical.FlinkLogicalWindowTableAggregate)1