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

Ashutosh Chauhan commented on HIVE-2961:
----------------------------------------

I agree with Kevin. Since, views are purely metadata it doesnt make much sense 
to have a storage-descriptor associated with them.
                
> 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

        

Reply via email to