Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(datasets) Fix pathological partitioner on string labels #4253

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

adam-narozniak
Copy link
Member

Issue

In "first-deterministic" mode, when the label is a string, an index instead of a true label gets assigned.

Proposal

Adjust the assignment to use an index from the unique labels list.
Update tests to tests against string labels.

@jafermarq jafermarq enabled auto-merge (squash) October 1, 2024 20:41
@jafermarq jafermarq merged commit 917d406 into main Oct 1, 2024
56 checks passed
@jafermarq jafermarq deleted the fds-fix-pathological-partitioner branch October 1, 2024 20:56
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