Skip to content

Temporarily fix bug in dynamic top-k optimization - #16465

Merged
adriangb merged 2 commits into
apache:mainfrom
AdamGS:adamg/investigate-16452
Jun 19, 2025
Merged

Temporarily fix bug in dynamic top-k optimization#16465
adriangb merged 2 commits into
apache:mainfrom
AdamGS:adamg/investigate-16452

Conversation

@AdamGS

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

See #16452.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actionsgithub-actionsBot added core Core DataFusion crate physical-plan Changes to the physical-plan crate labels Jun 19, 2025
@AdamGS
AdamGSforce-pushed the adamg/investigate-16452 branch from 5becc5b to f915110CompareJune 19, 2025 21:15
@AdamGSAdamGS changed the title Fix bug in dynamic topk optimizationTemporarily fix bug in dynamic top-k optimizationJun 19, 2025

@adriangbadriangb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor nits


let random_seed = 1u64; // Use a fixed seed to ensure consistent behavior

println!("Creating test generator with same config as original runner...");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan on merging the test? If so maybe let's clean this up?

Comment threaddatafusion/core/tests/fuzz_cases/sort_query_fuzz.rs Outdated
@adriangb
adriangb merged commit 5ca4ff0 into apache:mainJun 19, 2025
@adriangb

Copy link
Copy Markdown
Contributor

Sad to have to do this but I agree keeping CI green is the top priority cc @Dandandan

@alamb

alamb commented Jun 20, 2025

Copy link
Copy Markdown
Contributor

Thanks @adriangb and @blaginin and @AdamGS for sorting this out

@alamb

Copy link
Copy Markdown
Contributor

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coreCore DataFusion cratephysical-planChanges to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AdamGS@adriangb@alamb