carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenerlu <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #877: [CARBONDATA-951] create table ddl ca...
Date Thu, 04 May 2017 15:47:36 GMT
Github user chenerlu commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/877#discussion_r114817008
  
    --- Diff: integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/createtable/TestCreateTableSyntax.scala
---
    @@ -31,7 +36,56 @@ class TestCreateTableSyntax extends QueryTest with BeforeAndAfterAll
{
       
       override def beforeAll {
       }
    +  test("test carbon table create with bitmap column") {
    +
    +    sql("drop table if exists carbontable")
    +    sql("create table carbontable(id int, name string, dept string, mobile array<string>,
" +
    +      "country string, salary double) STORED BY 'org.apache.carbondata.format' " +
    +      "TBLPROPERTIES ('BITMAP'='dept,name')")
    --- End diff --
    
    Suggest sql command use """ """ surrounded instead of using "+"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message