Skip to content

Commit

Permalink
No need to delete the duplicate rule since it has been removed in mas…
Browse files Browse the repository at this point in the history
…ter.
  • Loading branch information
yhuai committed Feb 10, 2015
1 parent 22cfa70 commit d1c12d3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@ private[sql] abstract class SparkStrategies extends QueryPlanner[SparkPlan] {
case c: CreateTableUsingAsLogicalPlan if !c.temporary =>
sys.error("Tables created with SQLContext must be TEMPORARY. Use a HiveContext instead.")

case LogicalDescribeCommand(table, isExtended) =>
val resultPlan = self.sqlContext.executePlan(table).executedPlan
ExecutedCommand(
RunnableDescribeCommand(resultPlan, resultPlan.output, isExtended)) :: Nil

case _ => Nil
}
}
Expand Down

0 comments on commit d1c12d3

Please sign in to comment.