[
https://issues.apache.org/jira/browse/IGNITE-16228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evgeny Stanilovsky updated IGNITE-16228:
----------------------------------------
Labels: calcite (was: calcite calcite3-required ignite-3)
> Calcite engine. SetOp execution node cannot be rewinded
> -------------------------------------------------------
>
> Key: IGNITE-16228
> URL: https://issues.apache.org/jira/browse/IGNITE-16228
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Reproducer:
> {code:java}
> executeSql("CREATE TABLE test(i INTEGER)");
> executeSql("INSERT INTO test VALUES (1), (2)");
> assertQuery("SELECT (SELECT test.i EXCEPT SELECT 0) FROM test")
> .returns(1)
> .returns(2)
> .check();{code}
> Throws:
> {noformat}
> Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:657)
> at java.util.ArrayList.get(ArrayList.java:433)
> at
> org.apache.ignite.internal.processors.query.calcite.exec.rel.AbstractSetOpNode.request(AbstractSetOpNode.java:76){noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)