hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Updated) (JIRA)" <>
Subject [jira] [Updated] (HIVE-2795) View partitions do not have a storage descriptor
Date Fri, 10 Feb 2012 02:28:00 GMT


Phabricator updated HIVE-2795:

    Attachment: HIVE-2795.D1683.3.patch

kevinwilfong updated the revision "HIVE-2795 [jira] View partitions do not have a storage
Reviewers: JIRA, njain

  Included a Python script to go through the metastore and update all view partitions to have
a Storage Descriptor.  It does so by dropping the partition and adding the partition.  As
the only view partition data that can be modified is the name, no data will be lost by doing
this.  Detailed instructions and warnings are included in the script.



> View partitions do not have a storage descriptor
> ------------------------------------------------
>                 Key: HIVE-2795
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Namit Jain
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-2795.D1683.1.patch, HIVE-2795.D1683.2.patch, HIVE-2795.D1683.3.patch
> Besides being an inconsistency, it causes errors.
> Calling describe formatted on a view partition throws an exception
> java.lang.NullPointerException
>   at org.apache.hadoop.hive.ql.metadata.Partition.getCols(  
>   at org.apache.hadoop.hive.ql.exec.DDLTask.describeTable(
> because it does not have a column descriptor, which is part of the storage descriptor.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message