[ https://issues.apache.org/jira/browse/HIVE-22948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17053948#comment-17053948 ]
Hive QA commented on HIVE-22948: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12995807/HIVE-22948.2.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 18103 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/20994/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/20994/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-20994/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12995807 - PreCommit-HIVE-Build > QueryCache: Treat query cache locations as temporary storage > ------------------------------------------------------------ > > Key: HIVE-22948 > URL: https://issues.apache.org/jira/browse/HIVE-22948 > Project: Hive > Issue Type: Bug > Components: Query Planning > Affects Versions: 4.0.0, 3.1.2 > Reporter: Gopal Vijayaraghavan > Assignee: Gopal Vijayaraghavan > Priority: Major > Attachments: HIVE-22948.1.patch, HIVE-22948.1.patch, > HIVE-22948.2.patch > > > The WriteEntity with a query cache query is considered for user authorization > without having direct access for users. > https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/command/CommandAuthorizerV2.java#L111 > {code} > if (privObject instanceof WriteEntity && > ((WriteEntity)privObject).isTempURI()) { > // do not authorize temporary uris > continue; > } > {code} > is not satisfied by the queries qualifying for the query cache. -- This message was sent by Atlassian Jira (v8.3.4#803005)