Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
imback82 committed Apr 2, 2021
1 parent b98c15c commit 43f70b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ case class CacheTableAsSelect(
originalText: String,
isLazy: Boolean,
options: Map[String, String],
isPlanAnalyzed: Boolean = false) extends Command with TransformationAfterAnalysis {
isPlanAnalyzed: Boolean = false) extends LeafCommand with TransformationAfterAnalysis {
// `plan` needs to be analyzed, but shouldn't be optimized. Thus, remove `plan` from
// children once the analysis phase is finished.
override def children: Seq[LogicalPlan] = if (!isPlanAnalyzed) plan :: Nil else Nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ abstract class TreeNode[BaseType <: TreeNode[BaseType]] extends Product {
}

trait LeafLike[T <: TreeNode[T]] { self: TreeNode[T] =>
override final def children: Seq[T] = Nil
override def children: Seq[T] = Nil
}

trait UnaryLike[T <: TreeNode[T]] { self: TreeNode[T] =>
Expand Down

0 comments on commit 43f70b2

Please sign in to comment.