Skip to content

Commit

Permalink
Update PrivilegesBuilder.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed Nov 1, 2023
1 parent 9cda08b commit 3cbba42
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ object PrivilegesBuilder {
privilegeObjects += PrivilegeObject(table)

case p =>
val newProjection = projectionList ++ p.inputSet.map(_.toAttribute)
for (child <- p.children) {
buildQuery(child, privilegeObjects, projectionList, conditionList, spark)
buildQuery(child, privilegeObjects, newProjection, conditionList, spark)
}
}
}
Expand Down

0 comments on commit 3cbba42

Please sign in to comment.