[
https://issues.apache.org/jira/browse/HIVE-15735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840960#comment-15840960
]
Hive QA commented on HIVE-15735:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12849581/HIVE-15735.1.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 11003 tests
executed
*Failed tests:*
{noformat}
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out)
(batchId=235)
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_join_with_different_encryption_keys]
(batchId=159)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_varchar_simple]
(batchId=153)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_3]
(batchId=93)
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3207/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3207/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3207/
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: 4 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12849581 - PreCommit-HIVE-Build
> In some cases, view objects inside a view do not have parents
> -------------------------------------------------------------
>
> Key: HIVE-15735
> URL: https://issues.apache.org/jira/browse/HIVE-15735
> Project: Hive
> Issue Type: Bug
> Reporter: Yongzhi Chen
> Assignee: Yongzhi Chen
> Attachments: HIVE-15735.1.patch
>
>
> This cause Sentry throws "No valid privileges" error:
> Error: Error while compiling statement: FAILED: SemanticException No valid
> privileges.
> To reproduce:
> Enable sentry:
> create table t1( i int);
> create view v1 as select * from t1;
> create view v2 as select * from v1 union all select * from v1;
> If the user does not have read permission on t1 and v1, the query
> select * from v2;
> This will fail with:
> Error: Error while compiling statement: FAILED: SemanticException No valid
> privileges
> User foo does not have privileges for QUERY
> The required privileges:
> Server=server1->Db=database2->Table=v1->action=select;
> (state=42000,code=40000)
> Sentry should not check v1's permission, for v1 has at least one parent(v2).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)