AngersZhuuuu commented on code in PR #5442:
URL: https://github.com/apache/kyuubi/pull/5442#discussion_r1361628209
##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleApplyPermanentViewMarker.scala:
##########
@@ -43,6 +43,8 @@ class RuleApplyPermanentViewMarker extends Rule[LogicalPlan] {
// as the main query part also secures it. But for performance
consideration,
// we also pre-check it in subqueries and fail fast with negative
privileges.
scalarSubquery.copy(plan =
PermanentViewMarker(scalarSubquery.plan, null))
+ case listQuery: ListQuery =>
Review Comment:
> You can use withNewPlan instead
Cool ! changed.
--
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]