carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackylk <...@git.apache.org>
Subject [GitHub] carbondata pull request #1490: [CARBONDATA-1579][PREAGG][DATAMAP] Support Da...
Date Mon, 13 Nov 2017 11:05:57 GMT
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?


---

Mime
View raw message