hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-hudi] satishkotha commented on a change in pull request #1368: [HUDI-650] Modify handleUpdate path to validate partitionPath
Date Fri, 20 Mar 2020 00:22:22 GMT
satishkotha 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_r395389012
 
 

 ##########
 File path: hudi-client/src/main/java/org/apache/hudi/io/HoodieAppendHandle.java
 ##########
 @@ -295,6 +294,13 @@ private Writer createLogWriter(Option<FileSlice> fileSlice, String
baseCommitTim
   }
 
   private void writeToBuffer(HoodieRecord<T> record) {
+    if (!partitionPath.equals(record.getPartitionPath())) {
+      writeStatus.markFailure(record, new HoodieUpsertException("mismatched partition path"),
 
 Review comment:
   added

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message