hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3074) Create a new API which gets a new empty partition object.
Date Thu, 02 Aug 2012 05:12:03 GMT

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

Namit Jain commented on HIVE-3074:
----------------------------------

It is different from append_partition.
The idea here is to get a existing partition template, append_partition creates a new partition.
We can add another parameter to append_partition, but that would be very confusing, given
the name
append.


                
> Create a new API which gets a new empty partition object.
> ---------------------------------------------------------
>
>                 Key: HIVE-3074
>                 URL: https://issues.apache.org/jira/browse/HIVE-3074
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Nadeem Moidu
>            Assignee: Nadeem Moidu
>         Attachments: HIVE-3074.1.patch
>
>
> Gets a new partition object with the given parameters. Similar to append_partition, but
does not add the partition to metastore. It only works for tables; does not work for other
objects like views. The table is fetched from the metastore using the db name and the table
name.  However, the actual partition is not fetched from the metastore. It does not matter
whether the partition exists or not.The partition values are used to construct a new partition.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message