Skip to content

Expose DataFileSerde as functions #1562

@CTTY

Description

@CTTY

Is your feature request related to a problem or challenge?

Right now DataFileSerde is not usable outside spec crate.

Serde datafiles can actually be useful at some times. In the ongoing DataFusion write support work, write node will write data and generate data files, and it would be ideal to serialize data files and pass them to commit node for the distributed execution.

Describe the solution you'd like

We don't have to expose DataFileSerde directly. Instead, we can expose the serde functions:

pub fn serialize_data_file_to_json

pub fn deserialize_json_to_data_file

Willingness to contribute

I can contribute to this feature independently

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions