KurtYoung commented on a change in pull request #8244: [FLINK-11945] [table-runtime-blink] Support over aggregation for blink streaming runtime URL: https://github.com/apache/flink/pull/8244#discussion_r283598406
########## File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/plan/nodes/physical/stream/StreamExecOverAggregate.scala ########## @@ -134,6 +144,325 @@ class StreamExecOverAggregate( override protected def translateToPlanInternal( tableEnv: StreamTableEnvironment): StreamTransformation[BaseRow] = { - throw new TableException("Implements this") + val tableConfig = tableEnv.getConfig + + if (logicWindow.groups.size > 1) { + throw new TableException( + "All aggregates must be computed on the same window.") + } + + val overWindow: org.apache.calcite.rel.core.Window.Group = logicWindow.groups.get(0) Review comment: why use full package name here? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services