the-other-tim-brown commented on code in PR #13699:
URL: https://github.com/apache/hudi/pull/13699#discussion_r2277897773
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/UpdateProcessor.java:
##########
@@ -39,8 +52,16 @@ public interface UpdateProcessor<T> {
BufferedRecord<T> processUpdate(String recordKey, BufferedRecord<T>
previousRecord, BufferedRecord<T> mergedRecord, boolean isDelete);
static <T> UpdateProcessor<T> create(HoodieReadStats readStats,
HoodieReaderContext<T> readerContext,
- boolean emitDeletes,
Option<BaseFileUpdateCallback<T>> updateCallback) {
- UpdateProcessor<T> handler = new StandardUpdateProcessor<>(readStats,
readerContext, emitDeletes);
+ boolean emitDeletes,
Option<BaseFileUpdateCallback<T>> updateCallback,
+ TypedProperties properties) {
+ UpdateProcessor<T> handler;
+ Option<String> payloadClass =
readerContext.getPayloadClasses(properties).map(Pair::getRight);
Review Comment:
Yes, that is the idea. This is meant to cover the legacy payload flow only
--
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]