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

John Sichi commented on HIVE-972:
---------------------------------

OK, good.  

To clarify:  the column descriptor metadata is what gets frozen when a view is 
defined, not any data associated with it.  When the view (whether virtual or 
materialized) is redefined, then its column descriptors may change as well.  
For a materialized view, we would have a choice between discarding its existing 
partitions (implying they would need to be rematerialized according to the new 
view definition) versus attempting to preserve them, transforming their 
contents on the fly in order to match the updated view definition.  For 
example, if the effect of the view redefinition was to delete one of the 
columns, then we could just project this column away when reading from the old 
partitions.  This is purely theoretical until we have a design for materialized 
views (including how they support partitioning).


> support views
> -------------
>
>                 Key: HIVE-972
>                 URL: https://issues.apache.org/jira/browse/HIVE-972
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Metastore, Query Processor
>            Reporter: Namit Jain
>            Assignee: John Sichi
>         Attachments: HIVE-972.1.patch
>
>
> Hive currently does not support views. 
> It would be a very nice feature to have.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to