You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@quickstep.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/21 15:40:00 UTC

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

    [ https://issues.apache.org/jira/browse/QUICKSTEP-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16482634#comment-16482634 ] 

ASF GitHub Bot commented on QUICKSTEP-127:
------------------------------------------

GitHub user hbdeshmukh opened a pull request:

    https://github.com/apache/incubator-quickstep/pull/355

    QUICKSTEP-127 Data provider thread 

    - Thread used for receiving block requests from clients and sending the
    contents of a block back to the client.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hbdeshmukh/incubator-quickstep data-provider-thread

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-quickstep/pull/355.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 #355
    
----
commit 6967ca57c448a17b63e176bf8bc1576066fe893a
Author: Harshad Deshmukh <hb...@...>
Date:   2018-04-06T21:00:54Z

    Data Provider thread added.
    
    - Thread used for receiving block requests from clients and sending the
    contents of a block back to the client.

----


> 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
>            Priority: Major
>         Attachments: Network-Client-Reuslt-Exchange.png
>
>
> 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)