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 2015/03/11 11:42:38 UTC

[jira] [Created] (LENS-404) Queries on JoinChains should not involve metastore lookup

Amareshwari Sriramadasu created LENS-404:
--------------------------------------------

             Summary: 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
             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)