Skip to content

fix partial_shuffle in distinct_count_test#6026

Merged
ryzhyk merged 1 commit intofeldera:mainfrom
TheIronBorn:patch-1
Apr 13, 2026
Merged

fix partial_shuffle in distinct_count_test#6026
ryzhyk merged 1 commit intofeldera:mainfrom
TheIronBorn:patch-1

Conversation

@TheIronBorn
Copy link
Copy Markdown
Contributor

Describe Manual Test Plan

Checklist

  • Unit tests added/updated
    - [ ] Integration tests added/updated (N/A)
    - [ ] Documentation updated (N/A)
    - [ ] Changelog updated (N/A)

Breaking Changes?

Mark if you think the answer is yes for any of these components:

Describe Incompatible Changes

N/A


partial_shuffle actually currently puts the shuffled elements at the end of the original slice, but the more robust solution is to use the slices returned by the function directly. (partial_shuffle docs here)

Signed-off-by: Daniel Philip Watson <danielwatson311@gmail.com>
Copy link
Copy Markdown

@mythical-fred mythical-fred left a comment

Choose a reason for hiding this comment

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

$One blocker: please rewrite the commit subject in proper imperative form before merge. fix partial_shuffle in distinct_count_test should be something like Fix partial_shuffle in distinct_count_test. Git history is a first-class artifact, and even tiny test fixes should keep clean commit subjects.

@gz
Copy link
Copy Markdown
Contributor

gz commented Apr 13, 2026

@mythical-fred the commit message is fine

@TheIronBorn do you mind sharing the rationale for the change? it looks fine but just trying to understand the reason

edit: NVM I saw your paragraph at the end of the PR

Copy link
Copy Markdown
Contributor

@ryzhyk ryzhyk left a comment

Choose a reason for hiding this comment

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

Thank you!

@ryzhyk ryzhyk enabled auto-merge April 13, 2026 16:01
@ryzhyk ryzhyk added this pull request to the merge queue Apr 13, 2026
Copy link
Copy Markdown

@mythical-fred mythical-fred left a comment

Choose a reason for hiding this comment

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

LGTM

Merged via the queue into feldera:main with commit aa8f403 Apr 13, 2026
1 check passed
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.

4 participants