Skip to content

Conversation

piever
Copy link
Contributor

@piever piever commented Sep 17, 2024

Previously, calling nextDataChunk on a streaming result failed to update the chunk_index. This in turn caused the check to prevent double iteration on Tables.partitions(q::QueryResult) to fail for streaming data.

Now the chunk_index is always updated after a successful nextDataChunk call. I've added tests that iterating partitions works when it should and throws NotImplementedException if one attempts to iterate twice.

@Mytherin Mytherin merged commit 5a9ea82 into duckdb:main Sep 18, 2024
6 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@piever piever deleted the pv/stream branch September 18, 2024 11:54
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Sep 27, 2024
More descriptive Parquet created_by with version and source hash (duckdb/duckdb#13992)
fix julia partitions for streaming result (duckdb/duckdb#14000)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Sep 27, 2024
More descriptive Parquet created_by with version and source hash (duckdb/duckdb#13992)
fix julia partitions for streaming result (duckdb/duckdb#14000)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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