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

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

                Author: ASF GitHub Bot
            Created on: 01/May/23 21:00
            Start Date: 01/May/23 21:00
    Worklog Time Spent: 10m 
      Work Description: scarlin-cloudera closed pull request #4212: HIVE-27238: 
Avoid Calcite Code generation for MetadataHandler on ever…
URL: https://github.com/apache/hive/pull/4212




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

    Worklog Id:     (was: 859926)
    Time Spent: 1h  (was: 50m)

> Avoid Calcite Code generation for RelMetaDataProvider on every query
> --------------------------------------------------------------------
>
>                 Key: HIVE-27238
>                 URL: https://issues.apache.org/jira/browse/HIVE-27238
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Steve Carlin
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> In CalcitePlanner, we are instantiating a new CachingRelMetadataProvider on 
> every query.  Within the Calcite code, they keep the provider key to prevent 
> a new MetadataHandler class from being created.  But by generating a new 
> provider, the cache never gets a hit so we keep instantiating new 
> MetadataHandlers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to