Github user xuchuanyin commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2695#discussion_r215973495
--- Diff:
streaming/src/main/java/org/apache/carbondata/streaming/CarbonStreamRecordWriter.java
---
@@ -316,6 +316,10 @@ private void appendBlockletToDataFile() throws
IOException {
}
public BlockletMinMaxIndex getBatchMinMaxIndex() {
+ if (output == null) {
+ return StreamSegment.mergeBlockletMinMax(
--- End diff --
no need for multiple lines here---
