Hello Ryan, The work around mentioned in the below issue is working fine. Thanks for the help.
On Tue, 18 Jan 2022, 7:53 am Ryan Skraba, <r...@skraba.com> wrote: > Hello! > > This is a known issue in 1.11.0 and before, and has recently been > fixed. There's some discussion at AVRO-2498. The bad news is that > if you're using avro-tools to generate your code, there isn't any > released version yet that contains the fix. Martin sent the link to > the SNAPSHOT repository in the meantime. > > The good news is that if you are using the Avro maven plugin, there is > a workaround, described in AVRO-2548. You can manually add the > missing conversion to the avro plugin configuration as shown in that > JIRA. > > I hope this helps, let us know if it works for you! > > All my best, Ryan > > [AVRO-2498]: https://issues.apache.org/jira/browse/AVRO-2498 > [AVRO-2548]: https://issues.apache.org/jira/browse/AVRO-2548 > > On Sat, Jan 15, 2022 at 1:54 AM Swamy Thota <swamy...@gmail.com> wrote: > > > > 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, <mgrigo...@apache.org> > 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 <swamy...@gmail.com> > 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 >