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

2022-02-07 Thread Aleksey Plekhanov (Jira)


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

Aleksey Plekhanov updated IGNITE-15539:
---
Labels: calcite  (was: calcite2-required calcite3-required ignite-3)

> 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: calcite
>
> 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;
> 
> 2148.00
> 2224.00
> {noformat}
> {noformat}
> /sql/aggregate/group/test_group_by.test[_ignore]
> /sql/types/null/test_null_aggr.test[_ignore]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


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

2021-09-27 Thread Evgeny Stanilovsky (Jira)


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

Evgeny Stanilovsky updated IGNITE-15539:

Description: 
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.00
22  24.00
{noformat}


{noformat}
/sql/aggregate/group/test_group_by.test[_ignore]
/sql/types/null/test_null_aggr.test[_ignore]
{noformat}




  was:
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.00
22  24.00
{noformat}





> 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, ignite-3
>
> 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;
> 
> 2148.00
> 2224.00
> {noformat}
> {noformat}
> /sql/aggregate/group/test_group_by.test[_ignore]
> /sql/types/null/test_null_aggr.test[_ignore]
> {noformat}



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


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

2021-09-21 Thread Andrey N. Gura (Jira)


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

Andrey N. Gura updated IGNITE-15539:

Labels: calcite2-required calcite3-required ignite-3  (was: 
calcite2-required calcite3-required)

> 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, ignite-3
>
> 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;
> 
> 2148.00
> 2224.00
> {noformat}



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