Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2113#discussion_r181663104
--- Diff:
integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/datamap/CGDataMapTestCase.scala
---
@@ -402,7 +402,7 @@ class CGDataMapTestCase extends QueryTest with
BeforeAndAfterAll {
sql(s"create datamap test_cg_datamap1 on table datamap_store_test1
using '${classOf[CGDataMapFactory].getName}' as select id, name from
datamap_store_test")
- val loc = CarbonProperties.getInstance().getSystemFolderLocation +
"/test_cg_datamap1.dmschema"
+ val loc = CarbonProperties.getInstance().getSystemFolderLocation +
"/datamap_store_test1_test_cg_datamap1.dmschema"
--- End diff --
Please make a utility function to construct the dmschema path
---