You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2016/02/19 07:30:18 UTC

[jira] [Commented] (LENS-935) Add driver query acceptor

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

Amareshwari Sriramadasu commented on LENS-935:
----------------------------------------------

[~prongs], Do you think it is still required along with Estimate? If not, Should we close it as Invalid?

> Add driver query acceptor
> -------------------------
>
>                 Key: LENS-935
>                 URL: https://issues.apache.org/jira/browse/LENS-935
>             Project: Apache Lens
>          Issue Type: New Feature
>          Components: server
>            Reporter: Rajat Khandelwal
>            Assignee: Rajat Khandelwal
>
> After rewrite, the selection of driver is done just once. I propose the following:
> * Each driver has a list of acceptors
> * Once a driver is selected, it's asked "do you accept this query", which it answers using its acceptors
> * If the driver accepts, the flow after that is unchanged
> * If the driver rejects, that driver is removed from candidates, and selection happens again. Then the flow goes back to point 2.
> * If all reject, first driver's error is propagated. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)