AngersZhuuuu commented on code in PR #5581:
URL: https://github.com/apache/kyuubi/pull/5581#discussion_r1381267221
##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala:
##########
@@ -112,6 +113,10 @@ object PrivilegesBuilder {
val cols = conditionList ++ aggCols
buildQuery(a.child, privilegeObjects, projectionList, cols, spark)
+ case logicalRelation @ LogicalRelation(_: HadoopFsRelation, _, None, _)
=>
Review Comment:
If we call uriDescs for all cases of LogicalRelation, it may return two data
containing both Table and Path,
But we only want a path for cases that only have a path.
--
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]