[
https://issues.apache.org/jira/browse/HIVE-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257329#comment-13257329
]
Kevin Wilfong commented on HIVE-2961:
-------------------------------------
We can revert those two patches instead. This patch does fix a null pointer
exception that occurs for DESCRIBE FORMATTED on a view partition. But I can
submit that in a separate patch.
> Remove need for storage descriptors for view partitions
> -------------------------------------------------------
>
> Key: HIVE-2961
> URL: https://issues.apache.org/jira/browse/HIVE-2961
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 0.9.0
> Reporter: Kevin Wilfong
> Assignee: Kevin Wilfong
> Attachments: HIVE-2961.D2877.1.patch
>
>
> Storage descriptors were introduced for view partitions as part of HIVE-2795.
> This was to allow view partitions to have the concept of a region as well as
> to fix a NPE that resulted from calling describe formatted on them.
> Since regions are no longer necessary for view partitions and the NPE can be
> fixed by not displaying storage information for view partitions (or
> displaying the view's storage information if this is preferred, although,
> since a view partition is purely metadata, this does not seem necessary),
> these are no longer needed.
> This also means the Python script added which retroactively adds storage
> descriptors to existing view partitions can be removed.
--
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