xiangfu0 commented on code in PR #20169:
URL: https://github.com/apache/pinot/pull/20169#discussion_r4498238781


##########
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseSingleStageBrokerRequestHandler.java:
##########
@@ -561,6 +565,8 @@ protected BrokerResponse doHandleRequest(long requestId, 
String query, SqlNodeAn
         TableRowColAccessResult rlsFilters = 
accessControl.getRowColFilters(requesterIdentity, tableName);
         List<String> rowFilters = rlsFilters.getRLSFilters().orElse(null);
         if (rowFilters != null && !rowFilters.isEmpty()) {
+          rejectCrossTableFunctionsUnderRowFilters(requestId, query, 
requestContext, tableName, rawTableName,

Review Comment:
   Agreed. The fail-open `catch` predates this PR and is the gap #20183 closes, 
so I'm leaving it out of this one. Merging this PR first and rebasing #20183 on 
top works for me; happy to help with the rebase once this is in.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to