Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed Nov 27, 2023
1 parent 57bf5ba commit 04a40c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ import org.apache.spark.sql.catalyst.catalog.CatalogTable
import org.apache.spark.sql.catalyst.expressions.Attribute
import org.apache.spark.sql.catalyst.plans.logical.{LeafNode, LogicalPlan}

import org.apache.kyuubi.plugin.spark.authz.util.WithInternalChild

case class PermanentViewMarker(child: LogicalPlan, catalogTable: CatalogTable) extends LeafNode
with WithInternalChild {
case class PermanentViewMarker(child: LogicalPlan, catalogTable: CatalogTable) extends LeafNode {

override def output: Seq[Attribute] = child.output

override def withNewChildInternal(newChild: LogicalPlan): LogicalPlan =
copy(child = newChild)
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ trait WithInternalChildren {
def withNewChildrenInternal(newChildren: IndexedSeq[LogicalPlan]): LogicalPlan
}

trait WithInternalChild {
def withNewChildInternal(newChild: LogicalPlan): LogicalPlan
}

trait WithInternalExpressionChild {
def withNewChildInternal(newChild: Expression): Expression
}

0 comments on commit 04a40c3

Please sign in to comment.