[ https://issues.apache.org/jira/browse/HIVE-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2756: ------------------------------ Attachment: HIVE-2756.D1575.1.patch kevinwilfong requested code review of "HIVE-2756 [jira] Views should be added to the inputs of queries.". Reviewers: JIRA https://issues.apache.org/jira/browse/HIVE-2756 Add the view to the inputs right before it is replaced by its underlying query in the SemanticAnalyzer. Views, in addition to the underlying tables, should be included in the inputs of a command which queries a view. This is useful when we want to know exactly what inputs need to be present in order to run the query run by a user. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D1575 AFFECTED FILES ql/src/test/results/clientnegative/create_or_replace_view7.q.out ql/src/test/results/clientnegative/recursive_view.q.out ql/src/test/results/clientnegative/invalidate_view1.q.out ql/src/test/results/clientpositive/create_or_replace_view.q.out ql/src/test/results/clientpositive/create_view.q.out ql/src/test/results/clientpositive/create_big_view.q.out ql/src/test/results/clientpositive/alter_view_rename.q.out ql/src/test/results/clientpositive/create_view_partitioned.q.out ql/src/test/results/clientpositive/ppd_union_view.q.out ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/3303/ Tip: use the X-Herald-Rules header to filter Herald messages in your client. > Views should be added to the inputs of queries. > ----------------------------------------------- > > Key: HIVE-2756 > URL: https://issues.apache.org/jira/browse/HIVE-2756 > Project: Hive > Issue Type: Improvement > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Attachments: HIVE-2756.D1575.1.patch > > > Views, in addition to the underlying tables, should be included in the inputs > of a command which queries a view. > This is useful when we want to know exactly what inputs need to be present in > order to run the query run by a user. -- 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