Skip to content

Commit 719ada9

Browse files
Override otherCopyArgs for ExplainCommandPhysical.
1 parent 4318fd7 commit 719ada9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/commands.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ case class ExplainCommandPhysical(child: SparkPlan)
2929
}
3030

3131
def output: Seq[Attribute] = child.output // right thing to do?
32+
33+
override def otherCopyArgs = context :: Nil
3234
}

0 commit comments

Comments
 (0)