Rajat Khandelwal created LENS-935:
-------------------------------------

             Summary: Add driver query acceptor
                 Key: LENS-935
                 URL: https://issues.apache.org/jira/browse/LENS-935
             Project: Apache Lens
          Issue Type: New Feature
            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)

Reply via email to