[
https://issues.apache.org/jira/browse/AVRO-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Skraba updated AVRO-2998:
------------------------------
Fix Version/s: 1.11.0
> Ruby: Records with symbol keys fail validation
> ----------------------------------------------
>
> Key: AVRO-2998
> URL: https://issues.apache.org/jira/browse/AVRO-2998
> Project: Apache Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.10.0
> Reporter: Joel Turkel
> Assignee: Joel Turkel
> Priority: Major
> Fix For: 1.11.0
>
>
> AVRO-2749 added Ruby serialization support for records with symbolic keys.
> However, these records still fail schema validation (which also impacts union
> serialization). Consider the following schema:
> {code:java}
> {
> "type": "record",
> "name": "name",
> "fields": [
> {
> "type": "int",
> "name": "sub"
> }
> ]
> }{code}
> The following hash is considered invalidate by
> Avro::SchemaValidator.validate!:
> {code:java}
> { sub: 1 }
> {code}
> Github PR coming shortly
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)