Github user ajantha-bhat commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2869#discussion_r229248603
--- Diff:
hadoop/src/main/java/org/apache/carbondata/hadoop/api/CarbonFileInputFormat.java
---
@@ -180,6 +235,11 @@ public CarbonTable
getOrCreateCarbonTable(Configuration configuration) throws IO
validSegments, partitionInfo, oldPartitionIdList);
numBlocks = dataBlocksOfSegment.size();
result.addAll(dataBlocksOfSegment);
+ Collections.sort(result, new Comparator<InputSplit>() {
--- End diff --
Why sorting the split ? can you add comment here ?
---