Rajesh Balamohan created HIVE-22789: ---------------------------------------
Summary: 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 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)