Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19604 FLIP-145: Support SQL windowing table-valued function
  3. FLINK-22714

Simplify `StreamPhysicalWindowTableFunction` to a simple window assigner if successor node with `WindowAttachedWindowingStrategy` in planner

    XMLWordPrintableJSON

Details

    Description

      In theory, `StreamPhysicalWindowTableFunction` should works as a window assigner and emits at ends of window. However, `StreamPhysicalWindowTableFunction` could be simplified to a simple window assigner, and emits per record if it's successor node is one of `WindowRank`/`WindowJoin`/`WindowAggregate` with `WindowAttachedWindowingStrategy`, because those nodes would assign input records to windows have been assigned in input nodes, and trigger emit at ends of window.

      Besides, we should add a limit that window is based on rowtime, because it has syntax problem if window is assigned based on the proc-time of previous operator.

      Attachments

        Issue Links

          Activity

            People

              jingzhang Jing Zhang
              jingzhang Jing Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: