Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Parse & Format AVRO decimal values #139

Open
cursedquail opened this issue Dec 18, 2020 · 1 comment
Open

Parse & Format AVRO decimal values #139

cursedquail opened this issue Dec 18, 2020 · 1 comment

Comments

@cursedquail
Copy link

AVRO represents decimal values as an array of bytes. The bytes are a 2's-complement encoding of the integer value of the decimal.

Currently kaf coerces the bytes to a string & prints it. This is less than ideal, especially when using kaf as a debugging tool :)

@birdayz
Copy link
Owner

birdayz commented Dec 23, 2020

thanks for reporting. i am not an avro user, I'm mostly using protobuf and json. can you provide me with an example to reproduce (using schema registry?)? then i would be interested in looking into it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants