You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "packyan (via GitHub)" <gi...@apache.org> on 2023/07/14 07:37:12 UTC

[GitHub] [kyuubi] packyan commented on pull request #5055: [KYUUBI #4167] [FOLLOW-UP] [Authz] Add support for function privileges building in 3.4

packyan commented on PR #5055:
URL: https://github.com/apache/kyuubi/pull/5055#issuecomment-1635434452

   The reason why the previous pr4167 failed to extract the privilege object of the function on 3.4 is that:
   
   1 spark 3.4 adds catalog to the name of the functions, from `database.function_name` to `catalog.database.function_name`, so `buildFunctionIdentFromQualifiedName` needs to be adapted for spark 3.4.
   
   2. The behavior of the `transformAllExpressions` method of `LogicPlan` has been changed in 3.4. Its subqueries can not be traversed. So I added a branch to the buildFunction method to handle Commands with subqueries.
   
   cc @bowenliang123 , also cc @yaooqinn .


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org