You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@quickstep.apache.org by "Harshad Deshmukh (JIRA)" <ji...@apache.org> on 2018/05/18 19:58:00 UTC

[jira] [Created] (QUICKSTEP-127) Provide access to Quickstep storage to fetch query results

Harshad Deshmukh created QUICKSTEP-127:
------------------------------------------

             Summary: Provide access to Quickstep storage to fetch query results
                 Key: QUICKSTEP-127
                 URL: https://issues.apache.org/jira/browse/QUICKSTEP-127
             Project: Apache Quickstep
          Issue Type: New Feature
          Components: Storage
            Reporter: Harshad Deshmukh
            Assignee: Harshad Deshmukh


Quickstep needs a mechanism to provide access to the clients to the query results. We propose a separate thread called "Data Provider Thread" (DPT). This thread can interact with the clients in the following ways:

Client --> Quickstep : Query text

Quickstep executes the query and stores the result in temporary storage.

Quickstep --> client : Signal query completion and send list of block IDs for the result relation.

Client --> Quickstep (DPT) : Request contents of the result blocks

Quickstep (DPT) --> client : Send the contents of the requested result blocks.

Client --> Quickstep (DPT) : Signal completion of reading the results. After receiving this signal, DPT can safely drop the result relation.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)