Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue #16098: ValidEnd Parallel Vectorisation#16140

Merged
Mytherin merged 2 commits intoduckdb:v1.2-histrionicusfrom
hawkfish:validend-range
Feb 10, 2025
Merged

Issue #16098: ValidEnd Parallel Vectorisation#16140
Mytherin merged 2 commits intoduckdb:v1.2-histrionicusfrom
hawkfish:validend-range

Conversation

@hawkfish
Copy link
Contributor

@hawkfish hawkfish commented Feb 9, 2025

ValidEnd was still using the old valid_start inter-chunk state variable
instead of reading the correct value from the already computed ValidBegin vector.
This would in turn generate incorrect bounds for RANGE FOLLOWING searches,
leading to erratic frame bounds.

ValidEnd was also incorrectly setting up the prev values to optimise the search,
instead of having the frame functions set it up for each chunk.

fixes: #16098
fixes: duckdblabs/duckdb-internal#4170

ValidEnd was still using the old valid_start inter-chunk state variable
instead of reading the correct value from the already computed ValidBegin vector.
This would in turn generate incorrect bounds for RANGE FOLLOWING searches,
leading to erratic frame bounds.

ValidEnd was also incorrectly setting up the prev values to optimise the search,
instead of having the frame functions set it up for each chunk.

fixes: duckdb#16098
fixes: duckdblabs/duckdb-internal#4170
@hawkfish hawkfish requested a review from lnkuiper February 9, 2025 06:12
@Mytherin Mytherin merged commit f667296 into duckdb:v1.2-histrionicus Feb 10, 2025
97 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@hawkfish hawkfish deleted the validend-range branch February 10, 2025 17:01
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments