You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "cfender-shinefour (via GitHub)" <gi...@apache.org> on 2024/02/06 07:34:31 UTC

Re: [PR] AVRO-2872: Fix bug in SpecificCompiler which prevents Logical Types being registered for union fields [avro]

cfender-shinefour commented on PR #1097:
URL: https://github.com/apache/avro/pull/1097#issuecomment-1928933608

   I would like to bring this one up again, as we experience issues while using an optional string with logicalType UUID, which is represented as a union of null and the string itself:
   
   ```
   {
     "name": "id",
     "type": {
       "logicalType": "uuid",
       "type": "string"
     }
   }
   ```
   
   As a result the conversion array is not populated and therefore we're not able to serialize avro messages with the same exception as described in the description.
   
   We're using version 1.11.3. For me it looks like this issue could be fixed with this PR.


-- 
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