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: [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]
