Skip to content

Commit e28275f

Browse files
committed
Update PermanentViewMarker.scala
1 parent c504103 commit e28275f

File tree

1 file changed

+3
-3
lines changed
  • extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/permanentview

1 file changed

+3
-3
lines changed

extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/permanentview/PermanentViewMarker.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ case class PermanentViewMarker(child: LogicalPlan, catalogTable: CatalogTable)
4949

5050
override def doCanonicalize(): LogicalPlan = {
5151
child match {
52-
case p @ Project(_, view @ View(_, _, _))
53-
if p.getTagValue(PVM_NEW_INSTANCE_TAG).contains(true) =>
52+
case p @ Project(_, view: View) if p.getTagValue(PVM_NEW_INSTANCE_TAG).contains(true) =>
5453
view.canonicalized
55-
case _ => child.canonicalized
54+
case _ =>
55+
child.canonicalized
5656
}
5757
}
5858
}

0 commit comments

Comments
 (0)