Fang-Yu Rao has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19194 )

Change subject: IMPALA-10986: Require the SELECT privilege to execute a UDF
......................................................................


Patch Set 11:

Hi all, in this patch I changed FunctionName#fallbackDbContainsFn() to 
additionally register the SELECT privilege on the UDF to be executed in a 
SELECT query 
(https://gerrit.cloudera.org/c/19194/11/fe/src/main/java/org/apache/impala/analysis/FunctionName.java#156).

I also changed the following tests accordingly.

1. test_select_function_with_fallback_db() in test_ranger.py (starting from 
https://gerrit.cloudera.org/c/19194/11/tests/authorization/test_ranger.py#1376).
2. testFunction() in AuthorizationStmtTest.java (starting from 
https://gerrit.cloudera.org/c/19194/11/fe/src/test/java/org/apache/impala/authorization/AuthorizationStmtTest.java#2996).

Thanks!


--
To view, visit http://gerrit.cloudera.org:8080/19194
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5e58ba30545ce169786aac279b00c8f6e09ae740
Gerrit-Change-Number: 19194
Gerrit-PatchSet: 11
Gerrit-Owner: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Comment-Date: Tue, 06 Dec 2022 08:07:08 +0000
Gerrit-HasComments: No

Reply via email to