Skip to content

Shuffle batch mode partitions if a seed is provided #37

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

Merged
merged 1 commit into from
Dec 15, 2019

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Dec 15, 2019

Also, add a PredictableRandomNumberGenerator to ensure deterministic partitioning. PredictableRandomNumberGenerator should maybe move into tools-support-core at some point, but I think it's fine where it is for now. It's not a great random number generator, but it should work fine for the driver's use cases.

Also, add a PredictableRandomNumberGenerator to ensure deterministic partitioning
Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me, thanks!

@DougGregor
Copy link
Member

@swift-ci please test

@DougGregor DougGregor merged commit 22835b0 into swiftlang:master Dec 15, 2019
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