-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datalake/avro: fixed encoding decimal values #24113
Conversation
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/58010#019325aa-ecf6-4abd-8485-be0d3411e004 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find!
4ea056c
to
798f353
Compare
the below tests from https://buildkite.com/redpanda/redpanda/builds/58045#0193294e-c2d6-4e62-932c-6a62350ab24b have failed and will be retried
|
798f353
to
3fe3008
Compare
In Java `BigInteger.toByteArray()` method is used to encode Avro decimals the method returns an array where the first element is the most significant byte of the encoded decimal. This commit fixes Redpanda Avro Bigdecimal encoding. Signed-off-by: Michał Maślanka <michal@redpanda.com>
3fe3008
to
d7f13ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
In Java
BigInteger.toByteArray()
method is used to encode Avro decimals the method returns an array where the first element is the most significant byte of the encoded decimal. This commit fixes Redpanda Avro Bigdecimal encoding.Backports Required
Release Notes