Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C0EC1200B7C for ; Thu, 8 Sep 2016 10:59:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BF5E7160ABD; Thu, 8 Sep 2016 08:59:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1235F160AA5 for ; Thu, 8 Sep 2016 10:59:52 +0200 (CEST) Received: (qmail 40668 invoked by uid 500); 8 Sep 2016 08:59:52 -0000 Mailing-List: contact commits-help@carbondata.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.incubator.apache.org Delivered-To: mailing list commits@carbondata.incubator.apache.org Received: (qmail 40659 invoked by uid 99); 8 Sep 2016 08:59:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2016 08:59:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C01201A53CB for ; Thu, 8 Sep 2016 08:59:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vDpfVt1iD5Od for ; Thu, 8 Sep 2016 08:59:50 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id D426260CD2 for ; Thu, 8 Sep 2016 08:59:49 +0000 (UTC) Received: (qmail 40639 invoked by uid 99); 8 Sep 2016 08:59:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2016 08:59:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0098CDFC7E; Thu, 8 Sep 2016 08:59:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gvramana@apache.org To: commits@carbondata.incubator.apache.org Date: Thu, 08 Sep 2016 08:59:48 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] incubator-carbondata git commit: Removed Unsupported features from describe formatted command description archived-at: Thu, 08 Sep 2016 08:59:53 -0000 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 Authored: Thu Sep 8 12:25:54 2016 +0530 Committer: Manohar 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, "", ""))