You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/09/07 06:05:00 UTC

[jira] [Updated] (CALCITE-7162) AggregateMergeRule type mismatch on MIN/MAX

     [ https://issues.apache.org/jira/browse/CALCITE-7162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-7162:
------------------------------------
    Labels: pull-request-available  (was: )

> AggregateMergeRule type mismatch on MIN/MAX
> -------------------------------------------
>
>                 Key: CALCITE-7162
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7162
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Gian Merlino
>            Priority: Major
>              Labels: pull-request-available
>
> The problem is similar to CALCITE-6557, but with MIN and MAX rather than SUM. Example query that exhibits the problem:
> {code}
> SELECT min(mn), max(mx)
> FROM (
>     SELECT min(deptno) mn, max(deptno) mx
>     FROM dept
>     GROUP BY name)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)