[
https://issues.apache.org/jira/browse/CALCITE-7162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruben Q L resolved CALCITE-7162.
--------------------------------
Resolution: Fixed
Fixed in
[{{d0e0d0e}}|https://github.com/apache/calcite/commit/d0e0d0e3794aec0bfb0ccc1e2e59473dcfebec63]
Thanks [~gian] for the patch!
Please next time do not forget moving the Jira ticket to "resolved" with the
corresponding fixVersion :)
> 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
> Assignee: Gian Merlino
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.41.0
>
>
> 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)