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

feat(datasets) Add dataset type check for dataset assignment #4058

Merged
merged 3 commits into from
Aug 22, 2024

Conversation

adam-narozniak
Copy link
Member

Issue

The partitioner does not check if the type of the assigned dataset is as expected.

Description

This issue was not seen since, typically, the dataset assignment happens inside federatedDataset; however, if ppl use the partitioner alone (for local data), then as shown in the Slack channel, it can happen (then the error is completely non-informative).

Proposal

Add type check for the dataset assignment. Add tests for that too.

@jafermarq jafermarq merged commit 97a991f into main Aug 22, 2024
40 checks passed
@jafermarq jafermarq deleted the fds-add-dataset-assignment-check branch August 22, 2024 13:47
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