Github user xubo245 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1939#discussion_r168109343
--- Diff:
integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestCreateTableAsSelect.scala
---
@@ -53,6 +55,9 @@ class TestCreateTableAsSelect extends QueryTest with
BeforeAndAfterAll {
sql("DROP TABLE IF EXISTS parquet_ctas_test")
sql("DROP TABLE IF EXISTS orc_ctas_test")
createTablesAndInsertData
+ CarbonProperties.getInstance().
+ addProperty(CarbonCommonConstants.COMPACTION_SEGMENT_LEVEL_THRESHOLD,
+ CarbonCommonConstants.DEFAULT_SEGMENT_LEVEL_THRESHOLD)
--- End diff --
Please check this test case: test("test create table as select with auto
merge")
---