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 #1491: [CARBONDATA-1651] [Supported Boolean Type Whe...
Date Tue, 14 Nov 2017 14:12:26 GMT
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1491#discussion_r150842701
  
    --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/dataload/TestLoadDataFrame.scala
---
    @@ -70,7 +82,17 @@ class TestLoadDataFrame extends QueryTest with BeforeAndAfterAll {
         buildTestData
       }
     
    -
    +test("test the boolean data type"){
    +  booldf.write
    +    .format("carbondata")
    +    .option("tableName", "carbon10")
    +    .option("tempCSV", "true")
    +    .option("compress", "true")
    +    .mode(SaveMode.Overwrite)
    +    .save()
    +  checkAnswer(
    +  sql("SELECT * FROM CARBON10"),Seq(Row("anubhav",true),Row("prince",false)))
    --- End diff --
    
    change to 
    ```
    checkAnswer(
         sql("SELECT * FROM CARBON10"),
         Seq(Row("anubhav", true), Row("prince", false)))
    ```


---

Mime
View raw message