Github user xubo245 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2318#discussion_r189480675
--- Diff:
store/sdk/src/test/java/org/apache/carbondata/sdk/file/AvroCarbonWriterTest.java
---
@@ -29,16 +29,27 @@
import org.apache.avro.generic.GenericData;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.CharEncoding;
+import org.junit.After;
import org.junit.Assert;
+import org.junit.Before;
import org.junit.Test;
import tech.allegro.schema.json2avro.converter.JsonAvroConverter;
import org.apache.avro.Schema;
-
public class AvroCarbonWriterTest {
private String path = "./AvroCarbonWriterSuiteWriteFiles";
+ @Before
+ public void cleanFile() {
+ assert (TestUtil.cleanMdtFile());
--- End diff --
PR 2246 fix another problem, can't solve this one. @ravipesala
---