[ 
https://issues.apache.org/jira/browse/HIVE-25670?focusedWorklogId=675448&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-675448
 ]

ASF GitHub Bot logged work on HIVE-25670:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Nov/21 00:51
            Start Date: 04/Nov/21 00:51
    Worklog Time Spent: 10m 
      Work Description: scarlin-cloudera opened a new pull request #2763:
URL: https://github.com/apache/hive/pull/2763






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 675448)
    Time Spent: 20m  (was: 10m)

> Avoid getTable() calls for foreign key tables not used in a query
> -----------------------------------------------------------------
>
>                 Key: HIVE-25670
>                 URL: https://issues.apache.org/jira/browse/HIVE-25670
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Steve Carlin
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In RelOptHiveTable, we generate the referential constraints for the table. In 
> this process, we make a metastore call to fetch these tables.  This is used 
> later on for potential gain on joins done on the key.
> However, there is no need to fetch these constraints if the table is not used 
> in the query. If we can get this information up front, we can save a bit on 
> compilation time.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to