Skip to content

Commit bd0b5ea

Browse files
chenghao-intelrxin
authored andcommitted
[SQL] Remove the duplicated code
Author: Cheng Hao <[email protected]> Closes apache#4494 from chenghao-intel/tiny_code_change and squashes the following commits: 450dfe7 [Cheng Hao] remove the duplicated code
1 parent a2d33d0 commit bd0b5ea

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,6 @@ private[sql] abstract class SparkStrategies extends QueryPlanner[SparkPlan] {
342342
ExecutedCommand(
343343
RunnableDescribeCommand(resultPlan, resultPlan.output, isExtended)) :: Nil
344344

345-
case LogicalDescribeCommand(table, isExtended) =>
346-
val resultPlan = self.sqlContext.executePlan(table).executedPlan
347-
ExecutedCommand(
348-
RunnableDescribeCommand(resultPlan, resultPlan.output, isExtended)) :: Nil
349-
350345
case _ => Nil
351346
}
352347
}

0 commit comments

Comments
 (0)