Skip to content

[Rust] in and from support for Row Format #2957

@robo-todd

Description

@robo-todd

Feature Request

I would like to use the row format but work into and out of a buffer.
The current to_row() implementation creates its own Vec internally, and I'd like it to work with a provided slice or Writer instead.

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

Ideally the row formatting would have an API that is parallel to the existing buffer serialization api:

  • to_row() would get a to_row_in() that is parallel to serialize_to().
  • from_row() would get a from_row_from() that is parallel to serialize_from()

Describe alternatives you've considered

There is no way to accomplish this without relying on internal implementation details of fory. I could "hack" it by basically trying to implement my own to_row() function and then use slices with existing from_row() function but it would seem that a parallel API would be cleaner for users.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

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