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:
[email protected]
With regards,
Apache Git Services