Github user ajantha-bhat commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2697#discussion_r216040613
--- Diff:
processing/src/main/java/org/apache/carbondata/processing/store/writer/AbstractFactDataWriter.java
---
@@ -225,7 +225,7 @@ protected void createNewFileIfReachThreshold(long
blockletSizeToBeAdded)
if ((currentFileSize + blockletSizeToBeAdded) >= blockSizeThreshold &&
currentFileSize != 0) {
// set the current file size to zero
String activeFile =
- enableDirectlyWriteData2Hdfs ? carbonDataFileHdfsPath :
carbonDataFileTempPath;
+ enableDirectlyWriteDataToStorePath ? carbonDataFileHdfsPath :
carbonDataFileTempPath;
--- End diff --
done.
---