xtern commented on code in PR #4706: URL: https://github.com/apache/ignite-3/pull/4706#discussion_r1846505037
########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/SqlQueryProcessor.java: ########## @@ -543,7 +543,7 @@ public int openedCursors() { } return (int) executor.runningQueries().stream() - .filter(info -> info.phase() == ExecutionPhase.EXECUTING) + .filter(info -> info.phase() == ExecutionPhase.EXECUTING && !info.script()) Review Comment: This was not quite correct - the script itself does not open the cursor -- 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. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org