[
https://issues.apache.org/jira/browse/IGNITE-15654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evgeny Stanilovsky updated IGNITE-15654:
----------------------------------------
Labels: calcite (was: calcite3-required ignite-3)
> 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: Vyacheslav Koptilin
> Priority: Major
> Labels: calcite
> 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.20.1#820001)