nsivabalan commented on a change in pull request #1091: [HUDI-389] Fixing Index 
look up to return right partitions for a given key along with fileId with 
Global Bloom
URL: https://github.com/apache/incubator-hudi/pull/1091#discussion_r358964106
 
 

 ##########
 File path: 
hudi-client/src/test/java/org/apache/hudi/index/bloom/TestHoodieGlobalBloomIndex.java
 ##########
 @@ -267,12 +267,20 @@ public void testTagLocation() throws Exception {
     for (HoodieRecord record : taggedRecordRDD.collect()) {
       if (record.getRecordKey().equals("000")) {
         
assertTrue(record.getCurrentLocation().getFileId().equals(FSUtils.getFileId(filename0)));
+        System.out.println("Record data " + record.getData().toString() + " 
rowChage 1 " + rowChange1.toString());
+        // 
assertTrue(record.getData().toString().equalsIgnoreCase(rowChange1.toString()));
 
 Review comment:
   actually I was looking for just payload comparison, not the entire record. 
Anyways, found a way to assert equality. 

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


With regards,
Apache Git Services

Reply via email to