danny0405 commented on code in PR #13951:
URL: https://github.com/apache/hudi/pull/13951#discussion_r2365919369


##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/BufferedRecords.java:
##########
@@ -35,7 +35,12 @@
 public class BufferedRecords {
 
   public static <T> BufferedRecord<T> fromHoodieRecord(HoodieRecord record, 
Schema schema, RecordContext<T> recordContext, Properties props, String[] 
orderingFields) {
-    boolean isDelete = record.isDelete(schema, props);
+    boolean isDelete = record.isDelete(schema, props, new DeleteContext(props, 
schema));

Review Comment:
   the deleteContext should never been instantiated per-row.



-- 
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]

Reply via email to