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

Himanshu Gahlaut commented on LENS-356:
---------------------------------------

This depends on the scale which lens is using to normalize the cost across 
drivers. I guess the current scale is [0,1,infinite], so if we get 0 from any 
driver instances, we know that it is the lowest. If we change the scale in 
future, that scale will also have a lower bound which can be used.

> Run estimate for each driver in parallel 
> -----------------------------------------
>
>                 Key: LENS-356
>                 URL: https://issues.apache.org/jira/browse/LENS-356
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.1
>
>
> We are estimating the cost of query on each driver sequentially. Since each 
> estimate is independent those can be parallelized.
> For each driver rewrite the query, call driver.estimate - need to parallelize 
> this for all drivers. 



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

Reply via email to