Skip to content

[arrow-avro] Move the writer-wire planning fully into codec.rs #9651

@jecsand838

Description

@jecsand838

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Improve the boundary between the arrow-avro codec and decoder by ensuring planning logic related to the skipper is handled in codec.rs and not during decoder construction or parsing.

Describe the solution you'd like

I'd recommend pushing the writer-wire planning fully into codec.rs, instead of carrying full AvroDataTypes down into record.rs and having Skipper::from_avro reconstruct the skip tree there. However this can always be done in a follow-up as well.

Originally posted by @jecsand838 in #9605 (comment)

Describe alternatives you've considered

  1. Leaving the code structure as is, which is fine for now, but overtime will likely reduce maintainability.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions