carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1490: [CARBONDATA-1579][PREAGG][DATAMAP] Support Da...
Date Mon, 13 Nov 2017 22:05:40 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1490#discussion_r150679772
  
    --- 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 --
    
    No, it is NA only. The associated table available only for preaggregate datamaps


---

Mime
View raw message