Skip to content

Conversation

pdet
Copy link
Contributor

@pdet pdet commented Jun 2, 2025

Our skip_rows had different behavior depending on whether it considered empty rows when skipping. This depended on whether the CSV file had one or multiple columns, which could cause confusion. Especially if the detected schema depended on the number of rows being skipped.

This PR ensures that empty lines are always considered, regardless of the schema.

Fix: #17738

@Mytherin Mytherin merged commit ff7ad85 into duckdb:v1.3-ossivalis Jun 3, 2025
1 check passed
@Mytherin
Copy link
Collaborator

Mytherin commented Jun 3, 2025

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jun 5, 2025
Have the skip_rows option consider empty csv lines (duckdb/duckdb#17756)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Jun 5, 2025
Have the skip_rows option consider empty csv lines (duckdb/duckdb#17756)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@pdet pdet deleted the skip_empty branch July 18, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants