You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2021/09/20 13:34:00 UTC

[jira] [Resolved] (IGNITE-15539) Calcite. Unexpected resultset from aggregate query.

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

Evgeny Stanilovsky resolved IGNITE-15539.
-----------------------------------------
    Release Note: Incorrect initial resultset.
      Resolution: Invalid

> Calcite. Unexpected resultset from aggregate query.
> ---------------------------------------------------
>
>                 Key: IGNITE-15539
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15539
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Evgeny Stanilovsky
>            Priority: Major
>              Labels: calcite2-required, calcite3-required
>
> In terms of SqlScriptRunner:
> {noformat}
> statement ok
> CREATE TABLE test (a INTEGER, b INTEGER);
> statement ok
> INSERT INTO test VALUES (11, 22), (13, 22), (12, 21)
> query IR
> SELECT test.b, SUM(a) FROM test GROUP BY b ORDER BY COUNT(a) DESC;
> ----
> 21	48.000000
> 22	24.000000
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)