[
https://issues.apache.org/jira/browse/CALCITE-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-2707:
------------------------------------
Labels: match pull-request-available (was: match)
> Information about distinct aggregation is lost in MATCH_RECOGNIZE
> -----------------------------------------------------------------
>
> Key: CALCITE-2707
> URL: https://issues.apache.org/jira/browse/CALCITE-2707
> Project: Calcite
> Issue Type: Bug
> Reporter: Dawid Wysakowicz
> Priority: Major
> Labels: match, pull-request-available
>
> There is no information that the COUNT aggregation is distinct in a plan for
> a query like e.g. this:
> {code}
> SELECT *
> FROM MyTable
> MATCH_RECOGNIZE (
> MEASURES
> ....
> AFTER MATCH SKIP PAST LAST ROW
> PATTERN (A B+ C)
> DEFINE
> B AS COUNT(DISTINCT B.id) < 4
> ) AS T
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)