[
https://issues.apache.org/jira/browse/HIVE-22789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajesh Balamohan resolved HIVE-22789.
-------------------------------------
Resolution: Duplicate
Appears that HIVE-22366 takes care of this in master branch. Marking this as
dup.
> Table details are retrieved twice during query compilation phase
> ----------------------------------------------------------------
>
> Key: HIVE-22789
> URL: https://issues.apache.org/jira/browse/HIVE-22789
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Reporter: Rajesh Balamohan
> Priority: Minor
>
> https://issues.apache.org/jira/browse/HIVE-22366 takes care of normalizing
> table details so that {{tabNameToTabObject}} is effectively used in
> CalcitePlanner.
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java#L513
> effectively invalidates entire {{tabNameToTabObject}} cache and forces to
> recompute the details. It would be good to check whether this can be avoided.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)