From 86fc4756afcc68d8cb67415dd1e3838c0e509896 Mon Sep 17 00:00:00 2001 From: Angerszhuuuu Date: Thu, 2 Nov 2023 10:58:01 +0800 Subject: [PATCH] Update PrivilegesBuilder.scala --- .../apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala b/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala index 543a9d6d847..19b446b5fea 100644 --- a/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala +++ b/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala @@ -137,7 +137,8 @@ object PrivilegesBuilder { case _ => val childCols = columnPrune(projectionList ++ conditionList, child.outputSet) if (childCols.isEmpty) { - buildQuery(child, + buildQuery( + child, privilegeObjects, p.inputSet.map(_.toAttribute).toSeq, conditionList,