You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/04/21 09:34:35 UTC

[jira] [Commented] (HIVE-2795) View partitions do not have a storage descriptor

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

Hudson commented on HIVE-2795:
------------------------------

Integrated in Hive-trunk-h0.21 #1387 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1387/])
    HIVE-2966 :Revert HIVE-2795  (Thejas Nair via Ashutosh Chauhan) (Revision 1328568)

     Result = SUCCESS
hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1328568
Files : 
* /hive/trunk/metastore/scripts/upgrade/001-HIVE-2795.update_view_partitions.py
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java
* /hive/trunk/ql/src/test/queries/clientpositive/describe_formatted_view_partitioned_json.q
* /hive/trunk/ql/src/test/results/clientpositive/describe_formatted_view_partitioned.q.out
* /hive/trunk/ql/src/test/results/clientpositive/describe_formatted_view_partitioned_json.q.out

                
> 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
>          Components: Metastore
>            Reporter: Namit Jain
>            Assignee: Kevin Wilfong
>             Fix For: 0.9.0
>
>         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(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