Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The following classes are legacy from the old Table API.
import org.apache.flink.table.planner.expressions.PlannerNamedWindowProperty; import org.apache.flink.table.planner.expressions.PlannerProctimeAttribute; import org.apache.flink.table.planner.expressions.PlannerRowtimeAttribute; import org.apache.flink.table.planner.expressions.PlannerWindowEnd; import org.apache.flink.table.planner.expressions.PlannerWindowProperty; import org.apache.flink.table.planner.expressions.PlannerWindowStart; import org.apache.flink.table.planner.plan.logical.LogicalWindow; import org.apache.flink.table.planner.plan.logical.SessionGroupWindow; import org.apache.flink.table.planner.plan.logical.SlidingGroupWindow; import org.apache.flink.table.planner.plan.logical.TumblingGroupWindow;
However, currently they are used in ExecNode and partially are serialized into the JSON plan. Also Python depends on it. Instead we should introduce a small POJO structure with enums. E.g. WindowSpec with WindowProperty enum or so. It can be located in the runtime module if Python needs this information during runtime.
Attachments
Issue Links
- links to