Skip to content

Commit c605fee

Browse files
jiangxb1987srowen
authored andcommitted
[SPARK-21260][SQL][MINOR] Remove the unused OutputFakerExec
## What changes were proposed in this pull request? OutputFakerExec was added long ago and is not used anywhere now so we should remove it. ## How was this patch tested? N/A Author: Xingbo Jiang <[email protected]> Closes apache#18473 from jiangxb1987/OutputFakerExec.
1 parent 6beca9c commit c605fee

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -584,17 +584,6 @@ case class CoalesceExec(numPartitions: Int, child: SparkPlan) extends UnaryExecN
584584
}
585585
}
586586

587-
/**
588-
* A plan node that does nothing but lie about the output of its child. Used to spice a
589-
* (hopefully structurally equivalent) tree from a different optimization sequence into an already
590-
* resolved tree.
591-
*/
592-
case class OutputFakerExec(output: Seq[Attribute], child: SparkPlan) extends SparkPlan {
593-
def children: Seq[SparkPlan] = child :: Nil
594-
595-
protected override def doExecute(): RDD[InternalRow] = child.execute()
596-
}
597-
598587
/**
599588
* Physical plan for a subquery.
600589
*/

0 commit comments

Comments
 (0)