[
https://issues.apache.org/jira/browse/HIVE-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2795:
------------------------------
Attachment: HIVE-2795.D1683.1.patch
kevinwilfong requested code review of "HIVE-2795 [jira] View partitions do not
have a storage descriptor".
Reviewers: JIRA
https://issues.apache.org/jira/browse/HIVE-2795
Updated the metastore so that if a partition is added to a view and the
partition's StorageDescriptor is null it will use a copy of the table's
StorageDescriptor.
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(Partition.java:505)
at org.apache.hadoop.hive.ql.exec.DDLTask.describeTable(DDLTask.java:2570)
because it does not have a column descriptor, which is part of the storage
descriptor.
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D1683
AFFECTED FILES
metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
MANAGE HERALD DIFFERENTIAL RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/3591/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> View partitions do not have a storage descriptor
> ------------------------------------------------
>
> Key: HIVE-2795
> URL: https://issues.apache.org/jira/browse/HIVE-2795
> Project: Hive
> Issue Type: Improvement
> Reporter: Namit Jain
> Assignee: Kevin Wilfong
> Attachments: HIVE-2795.D1683.1.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(Partition.java:505)
>
> at org.apache.hadoop.hive.ql.exec.DDLTask.describeTable(DDLTask.java:2570)
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira