vinothchandar commented on code in PR #13686:
URL: https://github.com/apache/hudi/pull/13686#discussion_r2263212843
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -225,8 +269,13 @@ public Comparable<?> doGetOrderingValue(Schema
recordSchema, Properties props, S
field -> (Comparable<?>)
HoodieAvroUtils.getNestedFieldVal((GenericRecord) data, field, true,
consistentLogicalTimestampEnabled));
}
+ private void setSchema(Schema recordSchema) {
+ optimizedRecord.decodeRecord(recordSchema);
Review Comment:
this is a lil misleading. its decoding the record, when you probably expect
just setting schema
--
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]