ajantha-bhat commented on a change in pull request #3880: URL: https://github.com/apache/carbondata/pull/3880#discussion_r466277616
########## File path: hadoop/src/main/java/org/apache/carbondata/hadoop/api/CarbonTableInputFormat.java ########## @@ -389,14 +389,16 @@ protected FileSplit makeSplit(String segmentId, String filePath, long start, lon public void updateLoadMetaDataDetailsToSegments(List<Segment> validSegments, List<org.apache.carbondata.hadoop.CarbonInputSplit> prunedSplits) { + Map<String, Segment> validSegmentsMap = validSegments.stream() Review comment: oh, I got what you mean, we still need to get the element from valid segment to read its LoadMetadataDetails. So, SET can help only for contains, but not for getting the valid segment. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org