You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2021/10/05 12:18:00 UTC

[jira] [Updated] (IGNITE-15654) Calcite engine. Fix the test HashAggregateExecutionTest#countOfEmptyWithRewind

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

Vyacheslav Koptilin updated IGNITE-15654:
-----------------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> Calcite engine. Fix the test HashAggregateExecutionTest#countOfEmptyWithRewind
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-15654
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15654
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>            Priority: Major
>              Labels: calcite2-required, calcite3-required
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The test {{HashAggregateExecutionTest#countOfEmptyWithRewind}} uses aggregates without specified groups.
> The test fails with:
> {code}
> class org.apache.ignite.IgniteException: Unexpected exception
> 	at org.apache.ignite.internal.processors.query.calcite.exec.ExecutionContext.lambda$execute$0(ExecutionContext.java:309)
> 	at org.apache.ignite.internal.processors.query.calcite.exec.QueryTaskExecutorImpl.lambda$execute$0(QueryTaskExecutorImpl.java:68)
> 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> 	at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class java.lang.Comparable ([Ljava.lang.Object; and java.lang.Comparable are in module java.base of loader 'bootstrap')
> 	at java.base/java.util.PriorityQueue.siftUpComparable(PriorityQueue.java:659)
> 	at java.base/java.util.PriorityQueue.siftUp(PriorityQueue.java:655)
> 	at java.base/java.util.PriorityQueue.offer(PriorityQueue.java:346)
> 	at java.base/java.util.PriorityQueue.add(PriorityQueue.java:327)
> 	at org.apache.ignite.internal.processors.query.calcite.exec.rel.SortNode.push(SortNode.java:92)
> 	at org.apache.ignite.internal.processors.query.calcite.exec.rel.HashAggregateNode.flush(HashAggregateNode.java:188)
> 	at org.apache.ignite.internal.processors.query.calcite.exec.rel.HashAggregateNode.end(HashAggregateNode.java:142)
> 	at org.apache.ignite.internal.processors.query.calcite.exec.rel.ScanNode.push(ScanNode.java:127)
> 	at org.apache.ignite.internal.processors.query.calcite.exec.ExecutionContext.lambda$execute$0(ExecutionContext.java:304)
> {code}



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