[
https://issues.apache.org/jira/browse/AVRO-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783520#comment-17783520
]
ASF subversion and git services commented on AVRO-3896:
-------------------------------------------------------
Commit a6debf7cdb026f80f5a364f606845cdd86ff07ef in avro's branch
refs/heads/main from ZENOTME
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=a6debf7cd ]
AVRO-3896: support to custom more logical type (#2569)
* AVRO-3896 refactor verify logical type
* AVRO-3896 rename internal function and add test case
* AVRO-3896: [Rust] Improve error handling, comments and tests
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---------
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: ZENOTME <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
> [Rust] support read schema with custom logical type
> ---------------------------------------------------
>
> Key: AVRO-3896
> URL: https://issues.apache.org/jira/browse/AVRO-3896
> Project: Apache Avro
> Issue Type: Improvement
> Reporter: zejiong dong
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I find that it can't read schema with custom logical type because it has the
> [check|https://github.com/apache/avro/blob/807314512736c2a1c0a4203f4eb9b5d84aa021e4/lang/rust/avro/src/schema.rs#L1275]
> to guarantee that the logical type must be supported in avro-rust.
> Can we modify the
> [check|https://github.com/apache/avro/blob/807314512736c2a1c0a4203f4eb9b5d84aa021e4/lang/rust/avro/src/schema.rs#L1275]
> here to support reading custom logical type:
> 1. If the logical type is supported in avro-rust, it's fine and we convert it.
> 2. If the logical type is not supported, treat it as the original type and
> keep the "logicalType" as an attribute.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)