You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -107,16 +107,16 @@ object PrivilegesBuilder {
107
107
// For case 1, we should pass it's input as projection list
108
108
// since it's children's columns was pruned.
109
109
// For case too, we just skip.
110
-
if (columnPrune(p.references.toSeq, p.inputSet).isEmpty) {
110
+
if (columnPrune(p.references.toSeq++ p.output, p.inputSet).isEmpty) {
111
111
// If plan is project and output don't have relation to input, can ignore.
Copy file name to clipboardExpand all lines: extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilderSuite.scala
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -367,7 +367,7 @@ abstract class PrivilegesBuilderSuite extends AnyFunSuite
Copy file name to clipboardExpand all lines: extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RangerSparkExtensionSuite.scala
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -641,14 +641,12 @@ class HiveCatalogRangerSparkExtensionSuite extends RangerSparkExtensionSuite {
0 commit comments