voonhous commented on code in PR #14340:
URL: https://github.com/apache/hudi/pull/14340#discussion_r2591573617
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/commit/BaseWriteHelper.java:
##########
@@ -150,9 +151,9 @@ protected static <T> HoodieRecord<T>
reduceRecords(TypedProperties props, Buffer
try {
// NOTE: The order of previous and next is uncertain within a batch in
"reduceByKey".
// If the return value is empty, it means the previous should be chosen.
- BufferedRecord<T> newBufferedRecord =
BufferedRecords.fromHoodieRecord(next, schema, recordContext, props,
orderingFieldNames, deleteContext);
+ BufferedRecord<T> newBufferedRecord =
BufferedRecords.fromHoodieRecord(next, HoodieSchema.fromAvroSchema(schema),
recordContext, props, orderingFieldNames, deleteContext);
Review Comment:
Done
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]