[
https://issues.apache.org/jira/browse/LENS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370793#comment-14370793
]
Amareshwari Sriramadasu commented on LENS-404:
----------------------------------------------
Review request - https://reviews.apache.org/r/32281/
> Queries on JoinChains should not involve metastore lookup
> ---------------------------------------------------------
>
> 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)