[
https://issues.apache.org/jira/browse/AVRO-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525699#comment-17525699
]
ASF subversion and git services commented on AVRO-3502:
-------------------------------------------------------
Commit 5053df3c259c96d8bbc11dc838e2e40c91987db8 in avro's branch
refs/heads/avro-3502-logical-type-wrong-order from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=5053df3c2 ]
AVRO-3502: Rust: Wrong [ORDER] for Parsing Canonical Form
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
> 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
>
> [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)