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

Carl Steinbach commented on HIVE-1073:
--------------------------------------

Hi [~freepeter], thanks for writing up these notes!

bq. To track the view dependency, I will add a new class MTableDependency (name 
TBD) which contains srcTbl and dstTbl.

Since only views can have dependencies on other tables/views it probably makes 
sense to change the name to MViewDependency, and replace srcTbl with srcView.

> CREATE VIEW followup:  track view dependency information in metastore
> ---------------------------------------------------------------------
>
>                 Key: HIVE-1073
>                 URL: https://issues.apache.org/jira/browse/HIVE-1073
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore, Views
>    Affects Versions: 0.6.0
>            Reporter: John Sichi
>            Assignee: Wenlei Xie
>
> Add a generic mechanism for recording the fact that one object depends on 
> another.  First use case (to be implemented as part of this task) would be 
> views depending on tables or other views, but in the future we can also use 
> this for views depending on persistent functions, functions depending on 
> other functions, etc.
> This involves metastore modeling, QL analysis for deriving and recording the 
> dependencies (Ashish says something may already be available from the lineage 
> work), and CLI support for browsing dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to