Skip to content

[Spark] Expose a write summary from VortexOutputWriter #11125

Open

Description

@ChristopherWirt

Problem or motivation

VortexOutputWriter.close() finishes the file but throws away the VortexWriteSummary that VortexWriter.finish() returns. To learn anything about the file it just wrote, a caller has to open it again.

Proposed solution

After a successful close(), expose a summary of the write:

  • file size and row count, from VortexWriter.finish();
  • number of batches;
  • peak Arrow bytes of one batch;
  • peak bufferedBytes() reported by the native writer.

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions