You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by GitBox <gi...@apache.org> on 2022/11/29 21:32:58 UTC
[GitHub] [avro] andeb commented on pull request #1979: AVRO-3676: Produce valid toString() for UUID JSON
andeb commented on PR #1979:
URL: https://github.com/apache/avro/pull/1979#issuecomment-1331341977
Thank you @RyanSkraba. It would be great if you could create an account for me on JIRA.
Noted regarding data representation using `.toString()`. I use it as a trick for tests only where I assert some big Avro JSONs to the expected JSON in some tests.
Originally I was using `JsonEncoder` to generate the Avro JSON, however it was a bit tricky to assert fields with `logicalType` `decimal` and `timestamp` as they get encoded as `byte` and `long` and it is not immediately clear the conversion when reading the test.
--
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: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org