smarthi commented on a change in pull request #1368: [HUDI-650] Modify 
handleUpdate path to validate partitionPath
URL: https://github.com/apache/incubator-hudi/pull/1368#discussion_r392732290
 
 

 ##########
 File path: 
hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java
 ##########
 @@ -209,8 +207,8 @@ public void testUpdateRecords() throws Exception {
     metaClient = HoodieTableMetaClient.reload(metaClient);
     final HoodieCopyOnWriteTable newTable = new HoodieCopyOnWriteTable(config, 
jsc);
     List<WriteStatus> statuses = jsc.parallelize(Arrays.asList(1)).map(x -> {
-      return newTable.handleUpdate(newCommitTime, 
updatedRecord1.getCurrentLocation().getFileId(),
-          updatedRecords.iterator());
+      return newTable.handleUpdate(newCommitTime, 
updatedRecord1.getPartitionPath(),
+              updatedRecord1.getCurrentLocation().getFileId(), 
updatedRecords.iterator());
 
 Review comment:
   nitpick: delete 4 spaces in front.

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