linliu-code commented on code in PR #13498:
URL: https://github.com/apache/hudi/pull/13498#discussion_r2228919193
##########
hudi-common/src/main/java/org/apache/hudi/common/engine/HoodieReaderContext.java:
##########
@@ -410,6 +403,18 @@ public Comparable getOrderingValue(T record,
*/
public abstract HoodieRecord<T> constructHoodieRecord(BufferedRecord<T>
bufferedRecord);
+ /**
+ * Constructs a new Engine based record based on a given schema, base record
and update values.
+ *
+ * @param schema The schema of the new record.
+ * @param updateValues The map recording field index and its
corresponding update value.
+ * @param baseRecord The record based on which the engine record is
built.
+ * @return A new instance of engine record type {@link T}.
+ */
+ public abstract T constructEngineRecord(Schema schema,
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]