carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang...@apache.org
Subject [37/50] [abbrv] incubator-carbondata git commit: [CARBONDATA-74][Bug] Removed code for describe command, as it will be handled in spark. (#835)
Date Wed, 20 Jul 2016 10:14:05 GMT
[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 <prnaresh.naresh@gmail.com>
Authored: Mon Jul 18 23:21:43 2016 +0530
Committer: Venkata Ramana G <g.ramana.v1@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
     }


Mime
View raw message