[ https://issues.apache.org/jira/browse/IGNITE-9933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656834#comment-16656834 ]
ASF GitHub Bot commented on IGNITE-9933: ---------------------------------------- GitHub user tledkov-gridgain opened a pull request: https://github.com/apache/ignite/pull/5037 IGNITE-9933: SQL: lazy mode for query reduce step You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-9933 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/5037.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5037 ---- commit d8f9ad0d47bb914f9b2d84bd98a20b437b41d28b Author: tledkov-gridgain <tledkov@...> Date: 2018-10-18T15:47:16Z IGNITE-9933: SQL: lazy mode for query reduce step ---- > SQL: lazy mode isn't used on reduce step > ---------------------------------------- > > Key: IGNITE-9933 > URL: https://issues.apache.org/jira/browse/IGNITE-9933 > Project: Ignite > Issue Type: Improvement > Components: sql > Affects Versions: 2.6 > Reporter: Taras Ledkov > Assignee: Taras Ledkov > Priority: Major > > Lazy execution is introduced as default by IGNITE-9171. > But queries are executed lazy only in map phase now. > So, we have introduce lazy query execution on reduce step when merge table is > user to prevent waits for fetch all results on reduce step and excessive > allocate memory. > It will be applicable for queries sorted by index. > Attention: when reduce query is executed in lazy mode the release remote > resource and query cancellation must be changed. > See: > - {{GridReduceQueryExecutor#query}} > - {{GridReduceQueryExecutor#releaseRemoteResources}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)