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 1E568200D3D for ; Mon, 13 Nov 2017 12:05:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1CAA9160BF3; Mon, 13 Nov 2017 11:05:59 +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 57819160BE4 for ; Mon, 13 Nov 2017 12:05:58 +0100 (CET) Received: (qmail 12442 invoked by uid 500); 13 Nov 2017 11:05:57 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 12433 invoked by uid 99); 13 Nov 2017 11:05:57 -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; Mon, 13 Nov 2017 11:05:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7529EDFD78; Mon, 13 Nov 2017 11:05:57 +0000 (UTC) From: jackylk To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1490: [CARBONDATA-1579][PREAGG][DATAMAP] Support Da... Content-Type: text/plain Message-Id: <20171113110557.7529EDFD78@git1-us-west.apache.org> Date: Mon, 13 Nov 2017 11:05:57 +0000 (UTC) archived-at: Mon, 13 Nov 2017 11:05:59 -0000 Github user jackylk commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1490#discussion_r150507280 --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/datamap/TestDataMapCommand.scala --- @@ -81,8 +82,25 @@ class TestDataMapCommand extends QueryTest with BeforeAndAfterAll { assert(dataMapSchemaList.size() == 3) } + test("test show datamap without preaggregate") { + sql("drop table if exists datamapshowtest") + sql("create table datamapshowtest (a string, b string, c string) stored by 'carbondata'") + sql("create datamap datamap1 on table datamapshowtest using 'new.class' dmproperties('key'='value')") + sql("create datamap datamap2 on table datamapshowtest using 'new.class' dmproperties('key'='value')") + checkExistence(sql("show datamap on table datamapshowtest"), true, "datamap1", "datamap2", "-NA-", "new.class") --- End diff -- In output string, it should show `datamapshowtest` instead of `-NA-` for the table name, right? ---