the-other-tim-brown commented on code in PR #13171:
URL: https://github.com/apache/hudi/pull/13171#discussion_r2053084379
##########
hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroReaderContext.java:
##########
@@ -91,10 +125,23 @@ public GenericRecord convertToAvroRecord(IndexedRecord
record, Schema schema) {
@Override
public Option<HoodieRecordMerger> getRecordMerger(RecordMergeMode mergeMode,
String mergeStrategyId, String mergeImplClasses) {
- if (mergeMode == RecordMergeMode.CUSTOM) {
- return customMerger;
+ switch (mergeMode) {
+ case EVENT_TIME_ORDERING:
+ return Option.of(new HoodiePreCombineAvroRecordMerger());
Review Comment:
How does this work today in the paths that use merger? We should just use
that I suppose. Is it the `HoodieAvroRecordMerger`?
--
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]