hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1238) Get partitions with a partial specification
Date Fri, 12 Mar 2010 03:39:27 GMT

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

Paul Yang updated HIVE-1238:
----------------------------

    Attachment: HIVE-1238.1.patch

* Added get_partition* with ps suffix for "partial specification". Updated Hive.java to include
similar functions.
* Added SHOW PARTITIONS table PARTITION(...) to filter partitions that are displayed.

Note that there is an inefficiency with get_partitions_ps() - it fetches all the partitions
and then filters based on the supplied partition specification. A better approach would be
to modify the JDO query, but it doesn't seem there is a way to access individual elements
of a collection (partition values are stored in a list). 

> Get  partitions with a partial specification
> --------------------------------------------
>
>                 Key: HIVE-1238
>                 URL: https://issues.apache.org/jira/browse/HIVE-1238
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Paul Yang
>            Assignee: Paul Yang
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1238.1.patch
>
>
> Currently, the metastore API only allows retrieval of all the partitions of a table,
or the retrieval of a single partition given a complete partition specification. For HIVE-936,
a method to retrieve all partitions that match a partial partition specification would be
useful. 

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