[
https://issues.apache.org/jira/browse/AVRO-3506?focusedWorklogId=765800&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-765800
]
ASF GitHub Bot logged work on AVRO-3506:
----------------------------------------
Author: ASF GitHub Bot
Created on: 04/May/22 02:29
Start Date: 04/May/22 02:29
Worklog Time Spent: 10m
Work Description: jklamer commented on code in PR #1672:
URL: https://github.com/apache/avro/pull/1672#discussion_r864420229
##########
lang/rust/avro/src/schema.rs:
##########
@@ -434,6 +434,86 @@ impl<'s> ResolvedSchema<'s> {
}
}
+pub(crate) struct ResolvedOwnedSchema {
Review Comment:
Im not sure. The ResolvedSchema has that lifetime that Im not sure how to
associate with another field in the struct.
The design for GenericSingleObjectWriter would have to be
```
pub struct GenericSingleObjectWriter {
buffer: Vec<u8>,
schema: Schema, // with lifetime 'a?
resolved: ResolvedSchema<'a>,
}
```
Issue Time Tracking
-------------------
Worklog Id: (was: 765800)
Time Spent: 2h (was: 1h 50m)
> [rust] Implement Single Object Writer
> -------------------------------------
>
> Key: AVRO-3506
> URL: https://issues.apache.org/jira/browse/AVRO-3506
> Project: Apache Avro
> Issue Type: New Feature
> Reporter: Jack Klamer
> Assignee: Jack Klamer
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h
> Remaining Estimate: 0h
>
> The spec contains a definition for Single object Encoding:
> https://avro.apache.org/docs/current/spec.html#single_object_encoding
> Rust should have a compatible writer
--
This message was sent by Atlassian Jira
(v8.20.7#820007)