[ 
https://issues.apache.org/jira/browse/LENS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated LENS-404:
-----------------------------------------
    Summary: Optimize getAll lookups and JoinChain lookups in 
CubeMetastoreClient  (was: Queries on JoinChains should not involve metastore 
lookup)

> Optimize getAll lookups and JoinChain lookups in CubeMetastoreClient
> --------------------------------------------------------------------
>
>                 Key: LENS-404
>                 URL: https://issues.apache.org/jira/browse/LENS-404
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: cube
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.1
>
>
> JoinChains are not tables. 
> CubeQueryContext.extractMetaTables queries metastore for all table aliases 
> accessed in the query. For actual tables, the tables will be cached in cube 
> metastore client. For tables that are not there, it will still do a getTable 
> call.
> We should optimize joinchain lookup on the client, not to lookup metastore



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

Reply via email to