Vineet Garg created HIVE-22591: ---------------------------------- Summary: Make single metastore call to fetch all column stats instead of separate call for each column Key: HIVE-22591 URL: https://issues.apache.org/jira/browse/HIVE-22591 Project: Hive Issue Type: Improvement Components: Query Planning Reporter: Vineet Garg Assignee: Vineet Garg
Currently HiveRelFieldTrimmer has the ability to fetch (and trigger cache) column stats in single call. HiveReduceExpressionsWithStatsRule on the other hand has to use column stats on demand, as a result it makes single call for each column. This should be moved after RelFieldTrimmer so that RelFieldTrimmer has all the column stats cached. -- This message was sent by Atlassian Jira (v8.3.4#803005)