[
https://issues.apache.org/jira/browse/CALCITE-7976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-7976:
------------------------------------
Labels: pull-request-available (was: )
> AggregateReduceFunctionsRule produces incorrect results for DISTINCT
> covariance and regression functions
> --------------------------------------------------------------------------------------------------------
>
> Key: CALCITE-7976
> URL: https://issues.apache.org/jira/browse/CALCITE-7976
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
>
> {{When AggregateReduceFunctionsRule runs before DISTINCT aggregates are
> expanded, COVAR_POP(DISTINCT x, y), COVAR_SAMP(DISTINCT x, y),
> REGR_SXX(DISTINCT x, y) and REGR_SYY(DISTINCT x, y) can return incorrect
> results. CALCITE-7970 fixed the same problem for VAR_POP, VAR_SAMP,
> STDDEV_POP and STDDEV_SAMP.}}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)