Ten0 commented on PR #2599: URL: https://github.com/apache/avro/pull/2599#issuecomment-1829524081
If you skip serializing the bytes length and you still have the scale after the first buffer then that means the BigDecimal logical type cannot be deserialized as bytes, which it looks like it's incorrect because it's only a logical type and not a full new type. Also IIUC the Java implementation starts by deserializing as bytes and then converts that into a BigDecimal, so we do have the two lengths. -- 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]
