Skip to content

Can the file writer provide an explicit flush interface? #4926

@jiaqizho

Description

@jiaqizho

Hi, I'm building a storage engine using Vortex as a file format. As the caller, I want to be able to control writer memory.

my scenario is as follows:

  1. In the same thread, opened multiple vortex writers(VortexWriteOptions)
  2. write the arow::Recordbatche to multiple writers
  3. When a memory limit is hit (hard-code setting), I want to flush some of vortex writers without closing them.

So i guess a explicit flush interface is useful.

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