LucasJavaudin opened a new pull request, #1949:
URL: https://github.com/apache/avro/pull/1949

   ## What is the purpose of the change
   
   This pull request adds two integration tests to assess the changes of #1921:
   
   - (De)serialization of an enum with mixed variants (Null, new type, tuple 
and struct): `serde_enum`.
   - (De)serialization of an enum with mixed and duplicate variants: 
`serde_enum_with_duplicates`.
   
   ## Verifying this change
   
   The two integration tests **do not pass** for multiple reasons:
   
   - The serialized values do not validate the defined schema.
   - The `type` value for the tuple variant is serialized as an `Array` of 
`Union` instead as an `Union` of `Array`.
   - With duplicate variants, the index in the `type` union is not valid 
(because there is no duplicate in the union defined by the schema).
   
   ## Documentation
   
   - Does this pull request introduce a new feature? no
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to