You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2017/07/02 07:50:58 UTC

spark git commit: [SPARK-21260][SQL][MINOR] Remove the unused OutputFakerExec

Repository: spark
Updated Branches:
  refs/heads/master 6beca9ce9 -> c605fee01


[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 <xi...@databricks.com>

Closes #18473 from jiangxb1987/OutputFakerExec.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c605fee0
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c605fee0
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c605fee0

Branch: refs/heads/master
Commit: c605fee01f180588ecb2f48710a7b84073bd3b9a
Parents: 6beca9c
Author: Xingbo Jiang <xi...@databricks.com>
Authored: Sun Jul 2 08:50:48 2017 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Sun Jul 2 08:50:48 2017 +0100

----------------------------------------------------------------------
 .../spark/sql/execution/basicPhysicalOperators.scala     | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/c605fee0/sql/core/src/main/scala/org/apache/spark/sql/execution/basicPhysicalOperators.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/basicPhysicalOperators.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/basicPhysicalOperators.scala
index f3ca839..2151c33 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/basicPhysicalOperators.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/basicPhysicalOperators.scala
@@ -585,17 +585,6 @@ case class CoalesceExec(numPartitions: Int, child: SparkPlan) extends UnaryExecN
 }
 
 /**
- * A plan node that does nothing but lie about the output of its child.  Used to spice a
- * (hopefully structurally equivalent) tree from a different optimization sequence into an already
- * resolved tree.
- */
-case class OutputFakerExec(output: Seq[Attribute], child: SparkPlan) extends SparkPlan {
-  def children: Seq[SparkPlan] = child :: Nil
-
-  protected override def doExecute(): RDD[InternalRow] = child.execute()
-}
-
-/**
  * Physical plan for a subquery.
  */
 case class SubqueryExec(name: String, child: SparkPlan) extends UnaryExecNode {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org