the-other-tim-brown commented on code in PR #13964:
URL: https://github.com/apache/hudi/pull/13964#discussion_r2375863855


##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/BufferedRecords.java:
##########
@@ -45,7 +45,7 @@ public static <T> BufferedRecord<T> 
fromHoodieRecord(HoodieRecord record, Schema
     String recordKey = hoodieKey == null ? recordContext.getRecordKey(data, 
schema) : hoodieKey.getRecordKey();
     Integer schemaId = recordContext.encodeAvroSchema(schema);
     Comparable orderingValue = record.getOrderingValue(schema, props, 
orderingFields);
-    return new BufferedRecord<>(recordKey, 
recordContext.convertOrderingValueToEngineType(orderingValue), data, schemaId, 
inferOperation(isDelete, record.getOperation()));

Review Comment:
   This seems wrong, the ordering value needs to be in the engine specific type 
but we're removing that here. Is it being added elsewhere?



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