Skip to content

Expose successful CSV source records to recovery handlers - #5

Merged
osipovartem merged 1 commit into
embucket-parquet-59.2.0-bounded-skipfrom
csv-record-position-handler
Sep 17, 2026
Merged

osipovartem merged 1 commit into
embucket-parquet-59.2.0-bounded-skipfrom
csv-record-position-handler

Conversation

@osipovartem

Copy link
Copy Markdown

Summary

  • expose exact source line, byte offset, and raw bytes for successfully decoded CSV records
  • invoke the callback only on the existing opt-in recovery path
  • preserve source compatibility with a default no-op trait method
  • cover valid and malformed records across small input chunks

Performance

The strict/default CSV decoder path is unchanged. Successful-record callbacks run only when a recovery handler is explicitly configured, where raw record bytes are already retained.

Validation

  • cargo +1.95.0 test -p arrow-csv --lib --offline (74 passed)
  • cargo +1.95.0 clippy -p arrow-csv --lib --offline --no-deps -- -D warnings
  • cargo +1.95.0 fmt --all -- --check

@osipovartem
osipovartem merged commit 768a4e9 into embucket-parquet-59.2.0-bounded-skip Sep 17, 2026
22 of 26 checks passed
@osipovartem
osipovartem deleted the csv-record-position-handler branch September 17, 2026 23:27
@github-actions github-actions Bot added the arrow label Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant