Skip to content

rust: bound the extra ingest row buffer #959

Closed

Description

@athvin

Evidence

land_base_delivery builds every AppendRow and its JSON payload in a Vec before the generated append function begins its 500-row chunks. This adds delivery-sized row memory on top of the already resident CSV text. Source.

Change

Flush a bounded row buffer while parsing, preserving one atomic delivery. This ticket concerns the extra row buffer; changing the CSV-text API is outside its scope.

Depends on #957 so chunking preserves delivery atomicity.

Done when

  • A large delivery uses a fixed upper bound for buffered AppendRow values.
  • Row counts and content hashes match the current behavior.
  • A late chunk failure still rolls back the whole delivery.

Activity

  1. added
    code-cleanup
    on Nov 9, 2026
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

    code-cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions