hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5859) Create view does not captures inputs
Date Wed, 20 Nov 2013 05:17:23 GMT

     [ https://issues.apache.org/jira/browse/HIVE-5859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phabricator updated HIVE-5859:
------------------------------

    Attachment: D14235.1.patch

navis requested code review of "HIVE-5859 [jira] Create view does not captures inputs".

Reviewers: JIRA

HIVE-5859 Create view does not captures inputs

For example,
CREATE VIEW view_j5jbymsx8e_1 as SELECT * FROM tbl_j5jbymsx8e;

should capture "default.tbl_j5jbymsx8e" as input entity for authorization process but currently
it's not.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D14235

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMapRedUtils.java
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/SimpleFetchOptimizer.java
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java
  ql/src/test/results/clientnegative/alter_view_as_select_with_partition.q.out
  ql/src/test/results/clientnegative/alter_view_failure.q.out
  ql/src/test/results/clientnegative/alter_view_failure2.q.out
  ql/src/test/results/clientnegative/alter_view_failure4.q.out
  ql/src/test/results/clientnegative/alter_view_failure5.q.out
  ql/src/test/results/clientnegative/alter_view_failure6.q.out
  ql/src/test/results/clientnegative/alter_view_failure7.q.out
  ql/src/test/results/clientnegative/alter_view_failure9.q.out
  ql/src/test/results/clientnegative/analyze_view.q.out
  ql/src/test/results/clientnegative/create_or_replace_view1.q.out
  ql/src/test/results/clientnegative/create_or_replace_view2.q.out
  ql/src/test/results/clientnegative/create_or_replace_view4.q.out
  ql/src/test/results/clientnegative/create_or_replace_view5.q.out
  ql/src/test/results/clientnegative/create_or_replace_view6.q.out
  ql/src/test/results/clientnegative/create_or_replace_view7.q.out
  ql/src/test/results/clientnegative/create_or_replace_view8.q.out
  ql/src/test/results/clientnegative/create_view_failure1.q.out
  ql/src/test/results/clientnegative/create_view_failure2.q.out
  ql/src/test/results/clientnegative/create_view_failure4.q.out
  ql/src/test/results/clientnegative/deletejar.q.out
  ql/src/test/results/clientnegative/drop_table_failure2.q.out
  ql/src/test/results/clientnegative/insert_view_failure.q.out
  ql/src/test/results/clientnegative/invalid_columns.q.out
  ql/src/test/results/clientnegative/invalidate_view1.q.out
  ql/src/test/results/clientnegative/load_view_failure.q.out
  ql/src/test/results/clientnegative/recursive_view.q.out
  ql/src/test/results/clientnegative/unset_view_property.q.out
  ql/src/test/results/clientpositive/alter_view_as_select.q.out
  ql/src/test/results/clientpositive/alter_view_rename.q.out
  ql/src/test/results/clientpositive/authorization_8.q.out
  ql/src/test/results/clientpositive/create_big_view.q.out
  ql/src/test/results/clientpositive/create_like_view.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_view_partitioned.q.out
  ql/src/test/results/clientpositive/create_view_translate.q.out
  ql/src/test/results/clientpositive/ctas_char.q.out
  ql/src/test/results/clientpositive/ctas_date.q.out
  ql/src/test/results/clientpositive/ctas_varchar.q.out
  ql/src/test/results/clientpositive/database_drop.q.out
  ql/src/test/results/clientpositive/describe_formatted_view_partitioned.q.out
  ql/src/test/results/clientpositive/describe_formatted_view_partitioned_json.q.out
  ql/src/test/results/clientpositive/explain_dependency.q.out
  ql/src/test/results/clientpositive/explain_logical.q.out
  ql/src/test/results/clientpositive/join_view.q.out
  ql/src/test/results/clientpositive/lateral_view_noalias.q.out
  ql/src/test/results/clientpositive/ppd_union_view.q.out
  ql/src/test/results/clientpositive/ptf.q.out
  ql/src/test/results/clientpositive/show_create_table_view.q.out
  ql/src/test/results/clientpositive/subquery_exists.q.out
  ql/src/test/results/clientpositive/unset_table_view_property.q.out
  ql/src/test/results/clientpositive/view.q.out
  ql/src/test/results/clientpositive/view_cast.q.out
  ql/src/test/results/clientpositive/view_inputs.q.out
  ql/src/test/results/clientpositive/windowing.q.out

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/45537/

To: JIRA, navis


> Create view does not captures inputs
> ------------------------------------
>
>                 Key: HIVE-5859
>                 URL: https://issues.apache.org/jira/browse/HIVE-5859
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: D14235.1.patch
>
>
> For example, 
> CREATE VIEW view_j5jbymsx8e_1 as SELECT * FROM tbl_j5jbymsx8e;
> should capture "default.tbl_j5jbymsx8e" as input entity for authorization process but
currently it's not.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message