Github user QiangCai commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1849#discussion_r163767519
--- Diff:
hadoop/src/main/java/org/apache/carbondata/hadoop/streaming/CarbonStreamRecordWriter.java
---
@@ -173,6 +172,8 @@ private void initializeAtFirstRow() throws IOException,
InterruptedException {
outputStream = FileFactory.getDataOutputStream(filePath, fileType);
writeFileHeader();
}
+
+ isFirstRow = false;
--- End diff --
it means whether current row is first row or not
---