Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6595

Nested SQL queries do not expose proctime / rowtime attributes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: Table API & SQL
    • Labels:
      None

      Description

      We found out that the group windows cannot be applied with nested queries out-of-the-box:

      SELECT * FROM (
        (SELECT ...)
      UNION ALL)
        (SELECT ...)
      ) GROUP BY foo, TUMBLE(proctime, ...)
      

      Flink complains about proctime is undefined.

        Issue Links

          Activity

          Hide
          wheat9 Haohui Mai added a comment -

          This is addressed by FLINK-6483 via exposing the proctime in the row. Closing as a duplicate.

          Show
          wheat9 Haohui Mai added a comment - This is addressed by FLINK-6483 via exposing the proctime in the row. Closing as a duplicate.

            People

            • Assignee:
              wheat9 Haohui Mai
              Reporter:
              wheat9 Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development