[ 
https://issues.apache.org/jira/browse/HIVE-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461445#comment-13461445
 ] 

Namit Jain commented on HIVE-2847:
----------------------------------

This will require a number of issues to be fixed:

1. Metadata needs to be maintained at the partition level whether the stats for 
that partition are accurate or not.
2. As more column level statistics are being added, the existing infrastructure 
should be used to support queries like:

select max(x) from T

where column level statistics are stored for 'x'

This jira can either be extended to support column level stats, or can propose 
a format to store column level stats, and then use them for
query rewrite.
                
> Add support for query rewrite from the metadata
> -----------------------------------------------
>
>                 Key: HIVE-2847
>                 URL: https://issues.apache.org/jira/browse/HIVE-2847
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Namit Jain
>              Labels: gsoc, gsoc2012
>
> A simple query like: 
> select count(1) from T
> should be able to get the results from the metadata instead of scanning the 
> complete input table T.
> 2. the metadata only queries today does not scale to a very large number of 
> partitions - that needs to be fixed.

--
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

Reply via email to