diff options
author | Cheng Hao <hao.cheng@intel.com> | 2015-02-09 21:33:34 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-02-09 21:33:34 -0800 |
commit | bd0b5ea708aa5b84adb67c039ec52408289718bb (patch) | |
tree | bb41680d372872f7cc9b873d11d31a9c4ead1b06 /sql | |
parent | a2d33d0b01af87e931d9d883638a52d7a86f6248 (diff) | |
download | spark-bd0b5ea708aa5b84adb67c039ec52408289718bb.tar.gz spark-bd0b5ea708aa5b84adb67c039ec52408289718bb.tar.bz2 spark-bd0b5ea708aa5b84adb67c039ec52408289718bb.zip |
[SQL] Remove the duplicated code
Author: Cheng Hao <hao.cheng@intel.com>
Closes #4494 from chenghao-intel/tiny_code_change and squashes the following commits:
450dfe7 [Cheng Hao] remove the duplicated code
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala | 5 |
1 files changed, 0 insertions, 5 deletions
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 81bcf5a6f3..edf8a5be64 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 } } |