You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2015/02/10 06:33:36 UTC

spark git commit: [SQL] Remove the duplicated code

Repository: spark
Updated Branches:
  refs/heads/master a2d33d0b0 -> bd0b5ea70


[SQL] Remove the duplicated code

Author: Cheng Hao <ha...@intel.com>

Closes #4494 from chenghao-intel/tiny_code_change and squashes the following commits:

450dfe7 [Cheng Hao] remove the duplicated code


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

Branch: refs/heads/master
Commit: bd0b5ea708aa5b84adb67c039ec52408289718bb
Parents: a2d33d0
Author: Cheng Hao <ha...@intel.com>
Authored: Mon Feb 9 21:33:34 2015 -0800
Committer: Reynold Xin <rx...@databricks.com>
Committed: Mon Feb 9 21:33:34 2015 -0800

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/execution/SparkStrategies.scala  | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/bd0b5ea7/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala
index 81bcf5a..edf8a5b 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala
@@ -342,11 +342,6 @@ private[sql] abstract class SparkStrategies extends QueryPlanner[SparkPlan] {
         ExecutedCommand(
           RunnableDescribeCommand(resultPlan, resultPlan.output, isExtended)) :: Nil
 
-      case LogicalDescribeCommand(table, isExtended) =>
-        val resultPlan = self.sqlContext.executePlan(table).executedPlan
-        ExecutedCommand(
-          RunnableDescribeCommand(resultPlan, resultPlan.output, isExtended)) :: Nil
-
       case _ => Nil
     }
   }


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