Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3646#discussion_r109034147
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/logical/operators.scala
---
@@ -221,8 +221,8 @@ case class Aggregate(
}
override def validate(tableEnv: TableEnvironment): LogicalNode = {
- if (tableEnv.isInstanceOf[StreamTableEnvironment]) {
- failValidation(s"Aggregate on stream tables is currently not
supported.")
+ if (tableEnv.isInstanceOf[StreamTableEnvironment] &&
groupingExpressions == Nil) {
+ failValidation(s"Aggregate without any of groupby or over is not
supported.")
--- End diff --
This case should be easy to support as well with a `NullByteKeySelector` as
explained below.
---
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.
---