[ https://issues.apache.org/jira/browse/HIVE-14805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511087#comment-15511087 ]
Hive QA commented on HIVE-14805: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12829640/HIVE-14805.1.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 10555 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[acid_mapjoin] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cbo_union_view] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ctas] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ppd_union_view] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[union_view] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_join_part_col_char] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_3] org.apache.hadoop.hive.metastore.TestMetaStoreMetrics.testMetaDataCounts org.apache.hive.jdbc.TestJdbcWithMiniHS2.testAddJarConstructorUnCaching org.apache.hive.jdbc.TestJdbcWithMiniHS2.testMetadataQueriesWithSerializeThriftInTasks org.apache.hive.jdbc.TestJdbcWithMiniHS2.testParallelCompilation2 {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1257/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1257/console Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-Build-1257/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 11 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12829640 - PreCommit-HIVE-Build > Subquery inside a view will have the object in the subquery as the direct > input > -------------------------------------------------------------------------------- > > Key: HIVE-14805 > URL: https://issues.apache.org/jira/browse/HIVE-14805 > Project: Hive > Issue Type: Bug > Components: Views > Affects Versions: 2.0.1 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-14805.1.patch > > > Here is the repro steps. > {noformat} > create table t1(col string); > create view v1 as select * from t1; > create view dataview as select * from (select * from v1) v2; > select * from dataview; > {noformat} > If hive is configured with authorization hook like Sentry, it will require > the access not only for dataview but also for v1, which should not be > required. > The subquery seems to not carry insideview property from the parent query. -- This message was sent by Atlassian JIRA (v6.3.4#6332)