Skip to content

test: skip completed_groups_release_first_value_bitmap under force_hash_collisions - #27034

Merged
2010YOUY01 merged 1 commit into
apache:mainfrom
kumarUjjawal:kumarUjjawal/hylf4
Nov 3, 2026
Merged

2010YOUY01 merged 1 commit into
apache:mainfrom
kumarUjjawal:kumarUjjawal/hylf4

Conversation

@kumarUjjawal

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

completed_groups_release_first_value_bitmap (added in #26782) takes about 10 minutes in the cargo test hash collisions (amd64) merge-queue job. It aggregates 131,072 distinct keys in one batch. Under force_hash_collisions, every key has the hash 0, so the aggregate is quadratic. The test checks that FIRST_VALUE(v ORDER BY v) releases its per-batch bitmap, which does not depend on hashing.

The long job gives spot runner shutdowns more time to hit it. Evidence from merge-queue runs:

What changes are included in this PR?

Skip the test under force_hash_collisions, as #26594 did for another test. The imports that only this test uses move into its body, so they are not unused under the feature.

What is the testing strategy for this PR?

Test config change only. The regular cargo test job still runs the test. Locally (--profile ci), the test takes 0.92s by default and 309s with force_hash_collisions. With the feature, it is now skipped, and Clippy passes with and without the feature.

Are there any user-facing changes?

No.

…sh_collisions

The test aggregates 131,072 distinct keys in one batch. With colliding
hashes, the aggregate is quadratic and the test takes about 10 minutes
in the hash-collision CI job.

Closes apache#27033.
@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Nov 3, 2026
@kumarUjjawal
kumarUjjawal requested a review from kosiew November 3, 2026 04:45

@2010YOUY01 2010YOUY01 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense, thank you!

@2010YOUY01
2010YOUY01 added this pull request to the merge queue Nov 3, 2026
Merged via the queue into apache:main with commit 7d7d6b1 Nov 3, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate v56.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

completed_groups_release_first_value_bitmap takes 10 minutes under force_hash_collisions

2 participants