pseudomuto commented on a change in pull request #672: [HUDI-113]: WIP Use 
Tuple2 over # delimited string
URL: https://github.com/apache/incubator-hudi/pull/672#discussion_r285207957
 
 

 ##########
 File path: 
hoodie-client/src/main/java/com/uber/hoodie/index/bloom/HoodieBloomIndex.java
 ##########
 @@ -170,8 +173,9 @@ public HoodieBloomIndex(HoodieWriteConfig config) {
     if (config.getBloomIndexPruneByRanges()) {
       // we will just try exploding the input and then count to determine 
comparisons
       // FIX(vc): Only do sampling here and extrapolate?
-      fileToComparisons = 
explodeRecordRDDWithFileComparisons(partitionToFileInfo,
-          partitionRecordKeyPairRDD).mapToPair(t -> t._2()).countByKey();
+      fileToComparisons = 
explodeRecordRDDWithFileComparisons(partitionToFileInfo, 
partitionRecordKeyPairRDD)
 
 Review comment:
   I checked, this was just me. I'll leave it as is and just update the 
mapToPair bit

----------------------------------------------------------------
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

Reply via email to