You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yuriy Shuliha (Jira)" <ji...@apache.org> on 2019/10/15 15:16:00 UTC

[jira] [Created] (IGNITE-12291) Create controllable paged query requests / responses for TextQuery similar to current SQL result processing

Yuriy Shuliha  created IGNITE-12291:
---------------------------------------

             Summary: Create controllable paged query requests / responses for TextQuery similar to current SQL result processing
                 Key: IGNITE-12291
                 URL: https://issues.apache.org/jira/browse/IGNITE-12291
             Project: Ignite
          Issue Type: Improvement
            Reporter: Yuriy Shuliha 
            Assignee: Yuriy Shuliha 


For now query initiator node sends 1 _GridCacheQueryRequest_ and can get multiple _GridCacheQueryResponse_-s per remote.

TextQuery processing finishes when all remotes send _GridCacheQueryResponse_ with 'finished' flag.

_TextQuery_ processingĀ  should be reworked like it was done for SQL queries.

Ignite has _GridQueryNextPageRequest \ Response_ classes for SQL result processing.
Similar processing should be implemented for _TextQueries_:
*GridTextQueryNextPageRequest*
*GridTextQueryNextPageResponse* 

Proper _TextQuery_ response processing should be implemented inĀ _GridCacheQueryFutureAdapter._

This will allow us to add correct sorting and apply limit correctly on reduce.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)