[
https://issues.apache.org/jira/browse/AVRO-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fedor Telnov updated AVRO-3763:
-------------------------------
Description:
Working with Refs should be somehow improved. Currently the only "normal"
way(AFAIK) to work with them is to build a record, add a field with general
type and then in the same record use this type. But let's say I want to
reference type that belongs to completely different Schema. How can I do it
currently? Maybe I'm missing associated workflow, correct me if I'm wrong.
What I really want is to somehow link related schemas(like through Vec<Schema>
or something like that) and be able to`value.validate` and `value.resolve` on
that set of schemas.
If it is not possible, that should be somehow reworked, because working with
multiple schemas and refs is almost a complete pain currently.
was:
Working with Refs should be somehow improved. Currently the only "normal"
way(AFAIK) to work with them is to build a record, add a field with general
type and then in the same record use this type. But let's say I want to
reference type that belongs to completely different Schema. How can I do it
currently? Maybe I'm missing associated workflow, correct me if I'm wrong.
If it is not possible, that should be somehow reworked, because working with
multiple schemas and refs is almost a complete pain currently.
> [Rust] Improve Refs workflow
> ----------------------------
>
> Key: AVRO-3763
> URL: https://issues.apache.org/jira/browse/AVRO-3763
> Project: Apache Avro
> Issue Type: Wish
> Affects Versions: 1.11.1
> Reporter: Fedor Telnov
> Priority: Major
>
> Working with Refs should be somehow improved. Currently the only "normal"
> way(AFAIK) to work with them is to build a record, add a field with general
> type and then in the same record use this type. But let's say I want to
> reference type that belongs to completely different Schema. How can I do it
> currently? Maybe I'm missing associated workflow, correct me if I'm wrong.
>
> What I really want is to somehow link related schemas(like through
> Vec<Schema> or something like that) and be able to`value.validate` and
> `value.resolve` on that set of schemas.
>
> If it is not possible, that should be somehow reworked, because working with
> multiple schemas and refs is almost a complete pain currently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)