Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24427 Hide Scala in flink-table-planner from API
  3. FLINK-25363

Replace LogicalWindow and related planner expressions

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              slinkydeveloper Francesco Guardiani
              twalthr Timo Walther
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: