[ https://issues.apache.org/jira/browse/HIVE-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600507#comment-13600507 ]
Gang Tim Liu commented on HIVE-4150: ------------------------------------ Instead of scanning partition's data, we can read stats from metastore directly if it is available. No. of row. > optimize queries like 'select count(1) from T where <conditions on partition > columns>' > -------------------------------------------------------------------------------------- > > Key: HIVE-4150 > URL: https://issues.apache.org/jira/browse/HIVE-4150 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Namit Jain > Assignee: Gang Tim Liu > > If accurate stats are available in the metastore, they should be used to > optimize the above query. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira