hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Kidave (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1609) Support partition filtering in metastore
Date Thu, 02 Sep 2010 19:43:53 GMT

     [ https://issues.apache.org/jira/browse/HIVE-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ajay Kidave updated HIVE-1609:
------------------------------

    Attachment: hive_1609_2.patch

Thanks for the review Carl. Javacc is already used in the hive serde code, so it is not a
completely new dependency for hive. Javacc has issues with generating proper errors for multi-line
inputs, since we are using it for a small filter string only, this issue should not be seen.
The build approach is same as taken in serde, i.e the code is regenerated only if javacc.home
is defined.

Regarding throwing Unknown[DB|Table]Exception, it would require an extra database call to
first check whether the database is valid. So I have changed it to throw a NoSuchObjectException
saying db.table does not exist if the getMTable operation fails.

I have attached a patch which addresses the other issues.

> Support partition filtering in metastore
> ----------------------------------------
>
>                 Key: HIVE-1609
>                 URL: https://issues.apache.org/jira/browse/HIVE-1609
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Ajay Kidave
>             Fix For: 0.7.0
>
>         Attachments: hive_1609.patch, hive_1609_2.patch
>
>
> The metastore needs to have support for returning a list of partitions based on user
specified filter conditions. This will be useful for tools which need to do partition pruning.
Howl is one such use case. The way partition pruning is done during hive query execution need
not be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message