ajantha-bhat commented on a change in pull request #3568: [CARBONDATA-3658]
Prune and Cache only Matched partitioned segments for filter on Partitioned
table
URL: https://github.com/apache/carbondata/pull/3568#discussion_r366142737
##########
File path:
core/src/main/java/org/apache/carbondata/core/indexstore/blockletindex/BlockletDataMapFactory.java
##########
@@ -126,6 +126,14 @@ public DataMapBuilder createBuilder(Segment segment,
String shardName,
*/
public Map<Segment, List<CoarseGrainDataMap>> getDataMaps(List<Segment>
segments)
throws IOException {
+ return getDataMaps(segments, null);
+ }
+
+ /**
+ * Get the datamap for all segments
+ */
+ public Map<Segment, List<CoarseGrainDataMap>> getDataMaps(List<Segment>
segments,
Review comment:
Extract common code from this and getDataMaps with single segment API
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services