Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2083#discussion_r177619510
--- Diff:
core/src/main/java/org/apache/carbondata/core/datamap/Segment.java ---
@@ -50,9 +51,11 @@ public String getSegmentFileName() {
}
public static List<Segment> toSegmentList(String[] segmentIds) {
+ int startIndex =
+
segmentIds[0].equals(CarbonCommonConstants.PREAGGQUERY_SEGMENTS_CONSTANTS) ? 1
: 0;
--- End diff --
Can you describe why this check required
---