[
https://issues.apache.org/jira/browse/AVRO-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Skraba resolved AVRO-3210.
-------------------------------
Resolution: Duplicate
Thanks for the reference ! There's more discussion at AVRO-1582, and there's
an obvious demand for the feature (over the last seven years).
I'm going to close the related JIRA and we can take the discussion there.
> how the Avro Schema with Union type can accept the ‘normal JSON’
> -----------------------------------------------------------------
>
> Key: AVRO-3210
> URL: https://issues.apache.org/jira/browse/AVRO-3210
> Project: Apache Avro
> Issue Type: Improvement
> Reporter: Ning Chang
> Priority: Major
> Attachments: test2.avsc
>
>
> how the Avro Schema with Union type can accept the ‘normal JSON’
> Avro Schema;
> {
> "name": "middle_name",
> "type": [
> "null",
> "string"
> ],
> "default": null
> }
>
> how to accept the Normal json payload like: "middle_name": "chang" , not
> the one:
> "middle_name": {
> "string": "chang"
> }
> Thanks In advance.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)