Skip to content

Don't inline recursive datatypes, defer a runtime call to the child type instead #2759

@teh-cmc

Description

@teh-cmc

The Rust backend currently inline child datatypes into their parent, leading to giant to_arrow_datatype() that both bloat the code and are unreadable.

Replace the inlining with a runtime call to the child's to_arrow_datatype() method instead, akin to what we do on the serialization/deserialization path.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions