carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lionelcao <...@git.apache.org>
Subject [GitHub] carbondata pull request #1452: [CARBONDATA-1593] Add partition to table caus...
Date Tue, 31 Oct 2017 08:08:27 GMT
Github user lionelcao commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1452#discussion_r147917263
  
    --- Diff: integration/spark2/src/test/scala/org/apache/carbondata/spark/testsuite/partition/TestAlterPartitionTable.scala
---
    @@ -779,6 +779,23 @@ class TestAlterPartitionTable extends QueryTest with BeforeAndAfterAll
{
              .contains("Data in range info must be the same type with the partition field's
type"))
       }
     
    +  test("Alter table in or not in default database") {
    +    sql("DROP TABLE IF EXISTS carbonTable_default_db")
    +    sql("""
    +          | create table carbonTable_default_db(id int, name string) partitioned by (city
string)
    +          | row format delimited fields terminated by ','
    --- End diff --
    
    It's a hive table I think, please create the carbon table use stored by 'carbondata' and
tblproperties


---

Mime
View raw message