AngersZhuuuu commented on PR #5693:
URL: https://github.com/apache/kyuubi/pull/5693#issuecomment-1812468561

   > TBH, you made this thing a bit complicated It can be one line change in 
org.apache.kyuubi.plugin.spark.authz.PrivilegesBuilder#build
   > 
   > case _: ExplainCommand => OperationType.EXPLAIN
   
   The problem is first it pass ExplainCommand with the unresolved query plan, 
then call execut on the query plan, and it will check the privilege of query 
plan,  we need to avoid check the next plan.


-- 
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