carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvram...@apache.org
Subject [1/2] incubator-carbondata git commit: Removed Unsupported features from describe formatted command description
Date Thu, 08 Sep 2016 08:59:48 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 369f1a704 -> 0b02d9506


Removed Unsupported features from describe formatted command description


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/c88432d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/c88432d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/c88432d8

Branch: refs/heads/master
Commit: c88432d8f98d818cfef10e6bb43b3c60bd0f943f
Parents: 9c39710
Author: Manohar <manohar.crazy09@gmail.com>
Authored: Thu Sep 8 12:25:54 2016 +0530
Committer: Manohar <manohar.crazy09@gmail.com>
Committed: Thu Sep 8 12:26:08 2016 +0530

----------------------------------------------------------------------
 .../sql/execution/command/carbonTableSchema.scala | 18 ------------------
 1 file changed, 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/c88432d8/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
----------------------------------------------------------------------
diff --git a/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
b/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
index 2047872..8363c75 100644
--- a/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
+++ b/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
@@ -1441,25 +1441,7 @@ private[sql] case class DescribeCommandFormatted(
     )
     results ++= Seq(("Table Name : ", relation.tableMeta.carbonTableIdentifier.getTableName,
""))
     results ++= Seq(("CARBON Store Path : ", relation.tableMeta.storePath, ""))
-    results ++= Seq(("", "", ""), ("#Aggregate Tables", "", ""))
     val carbonTable = relation.tableMeta.carbonTable
-    val aggTables = carbonTable.getAggregateTablesName
-    if (aggTables.size == 0) {
-      results ++= Seq(("NONE", "", ""))
-    } else {
-      aggTables.asScala.foreach(aggTable => {
-        results ++= Seq(("", "", ""),
-          ("Agg Table :" + aggTable, "#Columns", "#AggregateType")
-        )
-        carbonTable.getDimensionByTableName(aggTable).asScala.foreach(dim => {
-          results ++= Seq(("", dim.getColName, ""))
-        })
-        carbonTable.getMeasureByTableName(aggTable).asScala.foreach(measure => {
-          results ++= Seq(("", measure.getColName, measure.getAggregateFunction))
-        })
-      }
-      )
-    }
     results ++= Seq(("", "", ""), ("##Detailed Column property", "", ""))
     if (colPropStr.length() > 0) {
       results ++= Seq((colPropStr, "", ""))


Mime
View raw message