Zhihua Deng created HIVE-29416:
----------------------------------

             Summary: Optimise the extrapolation for min/max in direct sql 
aggrStatsUseDB
                 Key: HIVE-29416
                 URL: https://issues.apache.org/jira/browse/HIVE-29416
             Project: Hive
          Issue Type: Improvement
          Components: Standalone Metastore
            Reporter: Zhihua Deng


Follow the discussion on HIVE-29203, due to PART_NAME is missing in the 
partialStatsRows, aggrStatsUseDB tries to find out which partition the min/max 
maps to per each column, the same min/max query is executed two times, and 
fetches all the matching rows from the database, leaving some room for 
optimization.



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

Reply via email to