Github user anubhav100 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1491#discussion_r150858848
--- 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 --
@jackylk i have done the changes you can review
---