korlov42 commented on a change in pull request #8858:
URL: https://github.com/apache/ignite/pull/8858#discussion_r611428153
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/rel/ScanNode.java
##########
@@ -96,13 +96,16 @@ private void doPush() throws Exception {
/** */
private void push() throws Exception {
+ if (isClosed())
Review comment:
this is should be at the very beginning of the task execution, but for
ScanNode the task scheduled to the executor is `doPush`, and there is call to
`checkstate()` causing an exception. Let's get rid of `doPush` at all and place
a `checkstate()` right after an `isClosed()` validation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]