Re: UUID Logical type not working in Java

2022-01-14 Thread Swamy Thota
Thanks Martin for the quick response, I will give it a try and let you
know. I tried with 1.11.0 earlier.

On Fri, 14 Jan 2022, 3:49 pm Martin Grigorov,  wrote:

> Hi,
>
> Which version of Avro do you use ?
> Which language ?
> If Java, then please try 1.12.0-SNAPSHOT from
> https://repository.apache.org/content/groups/snapshots/
> If it still does not work then please show us your schema or even better
> create a reproducer and share it with us, e.g. at Github.
>
> On Fri, Jan 14, 2022 at 10:22 PM Swamy Thota  wrote:
>
>> Hello All,
>>
>> I'm trying to use uuid logical type in one of my AVRO schema with string
>> as avro type. The generated class has the field type as string but I'm
>> expecting it to be UUID, is this a known issue? It works for other logical
>> types local-timestamp-millis as an example. Appreciate your help in advance.
>>
>> Thanks,
>> Swamy Thota
>>
>


Re: UUID Logical type not working in Java

2022-01-14 Thread Martin Grigorov
Hi,

Which version of Avro do you use ?
Which language ?
If Java, then please try 1.12.0-SNAPSHOT from
https://repository.apache.org/content/groups/snapshots/
If it still does not work then please show us your schema or even better
create a reproducer and share it with us, e.g. at Github.

On Fri, Jan 14, 2022 at 10:22 PM Swamy Thota  wrote:

> Hello All,
>
> I'm trying to use uuid logical type in one of my AVRO schema with string
> as avro type. The generated class has the field type as string but I'm
> expecting it to be UUID, is this a known issue? It works for other logical
> types local-timestamp-millis as an example. Appreciate your help in advance.
>
> Thanks,
> Swamy Thota
>


UUID Logical type not working in Java

2022-01-14 Thread Swamy Thota
Hello All,

I'm trying to use uuid logical type in one of my AVRO schema with string as
avro type. The generated class has the field type as string but I'm
expecting it to be UUID, is this a known issue? It works for other logical
types local-timestamp-millis as an example. Appreciate your help in advance.

Thanks,
Swamy Thota


Re: Papers discussing Apache Avro

2022-01-14 Thread Ryan Skraba
This is really cool news -- it's always really interesting to see
benchmark studies and the trade-offs we make while choosing different
formats.  Thanks for sharing!

I'd love to see links to some curated articles and papers on the
website!  I created AVRO-3308 if you don't object :D

Ryan

On Fri, Jan 14, 2022 at 10:49 AM Martin Grigorov  wrote:
>
> Hi Juan,
>
> Thank you for sharing your work with us!
>
> It comes right in time for me!
> I am working on the interop tests for the new Rust module and it seems there 
> is some problem to read the .avro files generated by Java. I may need to dive 
> in the binary diffs.
>
> Regards,
> Martin
>
> On Thu, Jan 13, 2022 at 11:14 PM Juan Cruz Viotti  wrote:
>>
>> Hey there!
>>
>> As part of my MSc dissertation at University of Oxford, I wrote and
>> published two papers covering the characteristics of various binary
>> serialization formats, including Apache Avro and performing a
>> space-efficiency benchmark, respectively.
>>
>> Sharing them here in case anybody finds them interesting! The first
>> paper explains how Apache Avro works including an annotated hexadecimal
>> example and the second compares Apache Avro to various other popular
>> serialization formats.
>>
>> - A Survey of JSON-compatible Binary Serialization Specifications:
>>   https://arxiv.org/abs/2201.02089
>> - A Benchmark of JSON-compatible Binary Serialization Specifications:
>>   https://arxiv.org/abs/2201.03051
>>
>> The benchmark study has proved Apache Avro to be one of the most
>> space-efficient formats considered.
>>
>> All the best!
>>
>> --
>> Juan Cruz Viotti
>> Technical Lead @ Postman.com
>> https://www.jviotti.com


Re: Papers discussing Apache Avro

2022-01-14 Thread Martin Grigorov
Hi Juan,

Thank you for sharing your work with us!

It comes right in time for me!
I am working on the interop tests for the new Rust module and it seems
there is some problem to read the .avro files generated by Java. I may need
to dive in the binary diffs.

Regards,
Martin

On Thu, Jan 13, 2022 at 11:14 PM Juan Cruz Viotti  wrote:

> Hey there!
>
> As part of my MSc dissertation at University of Oxford, I wrote and
> published two papers covering the characteristics of various binary
> serialization formats, including Apache Avro and performing a
> space-efficiency benchmark, respectively.
>
> Sharing them here in case anybody finds them interesting! The first
> paper explains how Apache Avro works including an annotated hexadecimal
> example and the second compares Apache Avro to various other popular
> serialization formats.
>
> - A Survey of JSON-compatible Binary Serialization Specifications:
>   https://arxiv.org/abs/2201.02089
> - A Benchmark of JSON-compatible Binary Serialization Specifications:
>   https://arxiv.org/abs/2201.03051
>
> The benchmark study has proved Apache Avro to be one of the most
> space-efficient formats considered.
>
> All the best!
>
> --
> Juan Cruz Viotti
> Technical Lead @ Postman.com
> https://www.jviotti.com
>