Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3491#discussion_r104874462
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/datastream/DataStreamOverAggregate.scala
---
@@ -143,10 +143,18 @@ class DataStreamOverAggregate(
.name(aggOpName)
.asInstanceOf[DataStream[Row]]
}
- // global non-partitioned aggregation
+ // non-partitioned aggregation
else {
- throw TableException(
- "Non-partitioned processing time OVER aggregation is not
supported yet.")
+ val processFunction =
AggregateUtil.CreateUnboundedProcessingOverProcessFunction(
+ namedAggregates,
+ inputType,
+ false)
+
+ inputDS
+ .process(processFunction).setParallelism(1)
--- End diff --
also set max parallelism to prevent that parallelism is increased.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---