bvaradar commented on a change in pull request #653: Fixes HUDI-85 : Interval
tree based pruning for Bloom Index
URL: https://github.com/apache/incubator-hudi/pull/653#discussion_r278785403
##########
File path:
hoodie-client/src/test/java/com/uber/hoodie/index/bloom/TestHoodieGlobalBloomIndex.java
##########
@@ -211,10 +211,10 @@ public void testExplodeRecordRDDWithFileComparisons() {
t -> t._2()._2().getRecordKey(), Collectors.mapping(t ->
t._2()._1().split("#")[0], Collectors.toList())));
assertEquals(4, recordKeyToFileComps.size());
- assertEquals(Arrays.asList("f4", "f1", "f3"),
recordKeyToFileComps.get("002"));
- assertEquals(Arrays.asList("f4", "f1", "f3"),
recordKeyToFileComps.get("003"));
- assertEquals(Arrays.asList("f4", "f1"), recordKeyToFileComps.get("004"));
- assertEquals(Arrays.asList("f4", "f1"), recordKeyToFileComps.get("005"));
+ assertEquals(new HashSet<>(Arrays.asList("f4", "f1", "f3")), new
HashSet<>(recordKeyToFileComps.get("002")));
Review comment:
Would it be easy to cover range pruning on/off cases here ?
----------------------------------------------------------------
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