danny0405 commented on code in PR #13526:
URL: https://github.com/apache/hudi/pull/13526#discussion_r2225133216
##########
hudi-common/src/main/avro/HoodieDeleteRecordList.avsc:
##########
@@ -54,17 +54,23 @@
"doc": "Ordering value determining the order of merging on the
same key",
"type": [
"null",
- "org.apache.hudi.avro.model.BooleanWrapper",
- "org.apache.hudi.avro.model.IntWrapper",
- "org.apache.hudi.avro.model.LongWrapper",
- "org.apache.hudi.avro.model.FloatWrapper",
- "org.apache.hudi.avro.model.DoubleWrapper",
- "org.apache.hudi.avro.model.BytesWrapper",
- "org.apache.hudi.avro.model.StringWrapper",
- "org.apache.hudi.avro.model.DateWrapper",
- "org.apache.hudi.avro.model.DecimalWrapper",
- "org.apache.hudi.avro.model.TimeMicrosWrapper",
- "org.apache.hudi.avro.model.TimestampMicrosWrapper"
+ {
+ "type": "array",
Review Comment:
Can we introduce a new wrapper class here:
`org.apache.hudi.avro.model.ArrayWrapper` to hold an array of avro type
records, it is more efficient and also making the deserailization compatible.
--
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]