Skip to content

CSV: Controlling Headers and Streaming Single Lines #660

@stellarpower

Description

@stellarpower

Hi,

I'm looking to use reflect-cpp to stream something akin to a log to file. I want to flush it regularly so that data are safe in the event of a crash.

The current (0.24.0) API makes it clear that only a container of members is supported; in addition to this, I can stream to an ostream, but, turning on or off headers in the csv::Settings isn't exposed.

I'd therefore like to suggest support for streaming, for CSV, and other iterable formats.

For now I will probably hack something in my project, but if I end up finding the time, I can look at a patch, as it seems pretty straightforward. Will obviously be limited by Arrow.

Thanks

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