[ https://issues.apache.org/jira/browse/AVRO-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453414#comment-17453414 ]
ASF subversion and git services commented on AVRO-2498: ------------------------------------------------------- Commit 99547e0ee2e0a4a839253848d7b34bac7f5e4cea in avro's branch refs/heads/dependabot/maven/lang/java/org.apache.ant-ant-1.10.12 from feroze daud [ https://gitbox.apache.org/repos/asf?p=avro.git;h=99547e0 ] AVRO-2498: Add SpecificCompiler support for `uuid` logicalType (#1362) Co-authored-by: feroze daud <fero...@zillowgroup.com> > UUID generation is not working avro 1.9 version > ----------------------------------------------- > > Key: AVRO-2498 > URL: https://issues.apache.org/jira/browse/AVRO-2498 > Project: Apache Avro > Issue Type: Bug > Reporter: Raj G > Assignee: Feroze Daud > Priority: Major > Labels: pull-request-available > Fix For: 1.11.1, 1.12.0 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > Hi, > > I've downloaded avro-tools 1.9 jar and trying to generate a java file from an > avro schema using below command > > java -jar avro-tools-1.9.0.jar compile schema ./myschema.avsc ./avro_java > > and have below schema in my .avsc file to generate a UUID field > { > "name": "myField", > "type": { > "type": "long", > "logicalType": "uuid" > } > } > > But this is generating a long field instead of UUID type. Please suggest. > -- This message was sent by Atlassian Jira (v8.20.1#820001)