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

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

Gian Merlino created CALCITE-7162:
-------------------------------------

             Summary: 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


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)