[
https://issues.apache.org/jira/browse/AVRO-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Tzvetanov Grigorov resolved AVRO-3502.
---------------------------------------------
Fix Version/s: 1.11.1
1.12.0
Resolution: Fixed
> Rust: Wrong [ORDER] for Parsing Canonical Form
> ----------------------------------------------
>
> Key: AVRO-3502
> URL: https://issues.apache.org/jira/browse/AVRO-3502
> Project: Apache Avro
> Issue Type: Improvement
> Components: rust
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Fix For: 1.11.1, 1.12.0
>
>
> [https://avro.apache.org/docs/current/spec.html#Parsing+Canonical+Form+for+Schemas]
> says:
>
> {code:java}
> [ORDER] Order the appearance of fields of JSON objects
> as follows: name, type,
> fields, symbols,
> items, values, size.
> For example, if an object has type,
> name, and size fields, then the
> name field should appear first, followed by the
> type and then the size fields. {code}
>
> Current master branch has "logicalType" between "values" and "size":
> https://github.com/apache/avro/blob/f0b183f2773165e616ec22ed6c32f60cc5b961fe/lang/rust/avro/src/schema.rs#L1513-L1515
--
This message was sent by Atlassian Jira
(v8.20.7#820007)