twalthr commented on a change in pull request #7177: [FLINK-7599] [table]
Support for aggregates in MATCH_RECOGNIZE
URL: https://github.com/apache/flink/pull/7177#discussion_r237485540
##########
File path: docs/dev/table/streaming/match_recognize.md
##########
@@ -211,6 +211,66 @@ If a condition is not defined for a pattern variable, a
default condition will b
For a more detailed explanation about expressions that can be used in those
clauses, please have a look at the [event stream
navigation](#pattern-navigation) section.
+### Scalar & Aggregate functions
+
+One can use scalar and aggregate functions in those clauses, both
[built-in]({{ site.baseurl }}/dev/table/sql.html#built-in-functions) as well as
provide [user defined]({{ site.baseurl }}/dev/table/udfs.html) functions.
Review comment:
Rephrase:
```
Aggregations can be used in `DEFINE` and `MEASURES` clauses. Both
[built-in]({{ site.baseurl }}/dev/table/sql.html#built-in-functions) and custom
[user defined]({{ site.baseurl }}/dev/table/udfs.html) functions are supported.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services