You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ch...@apache.org on 2016/07/20 10:14:05 UTC
[37/50] [abbrv] incubator-carbondata git commit: [CARBONDATA-74][Bug]
Removed code for describe command, as it will be handled in spark. (#835)
[CARBONDATA-74][Bug] Removed code for describe command, as it will be handled in spark. (#835)
Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/233d13f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/233d13f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/233d13f5
Branch: refs/heads/master
Commit: 233d13f55aef53aceeb5cbbffd12a9a10de825b7
Parents: c93a644
Author: nareshpr <pr...@gmail.com>
Authored: Mon Jul 18 23:21:43 2016 +0530
Committer: Venkata Ramana G <g....@gmail.com>
Committed: Mon Jul 18 23:21:43 2016 +0530
----------------------------------------------------------------------
.../org/apache/spark/sql/hive/CarbonStrategies.scala | 11 -----------
1 file changed, 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/233d13f5/integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonStrategies.scala
----------------------------------------------------------------------
diff --git a/integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonStrategies.scala b/integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonStrategies.scala
index 0b1f158..4209d82 100644
--- a/integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonStrategies.scala
+++ b/integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonStrategies.scala
@@ -343,17 +343,6 @@ class CarbonStrategies(sqlContext: SQLContext) extends QueryPlanner[SparkPlan] {
else {
ExecutedCommand(HiveNativeCommand(sql)) :: Nil
}
- case describe@LogicalDescribeCommand(table, isExtended) =>
- val resolvedTable = sqlContext.executePlan(describe.table).analyzed
- resolvedTable match {
- case t: MetastoreRelation =>
- ExecutedCommand(
- DescribeHiveTableCommand(t, describe.output, describe.isExtended)) :: Nil
- case o: LogicalPlan =>
- val resultPlan = sqlContext.executePlan(o).executedPlan
- ExecutedCommand(
- RunnableDescribeCommand(resultPlan, describe.output, describe.isExtended)) :: Nil
- }
case _ =>
Nil
}