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

Make Faker deterministic #24008

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Make Faker deterministic #24008

merged 2 commits into from
Nov 6, 2024

Conversation

nineinchnick
Copy link
Member

@nineinchnick nineinchnick commented Nov 2, 2024

Description

Use a jumpable random generator and make sure to jump it a different number of times for every split.

Ref: https://docs.oracle.com/en/java/javase/23/core/choosing-prng-algorithm.html

Release notes

## Faker
* Make generated data deterministic. ({issue}`24008`)

@cla-bot cla-bot bot added the cla-signed label Nov 2, 2024
@github-actions github-actions bot added the docs label Nov 2, 2024
Copy link
Contributor

@wendigo wendigo left a comment

Choose a reason for hiding this comment

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

LGTM % query runner changes

When limit was set to a multiplication of MAX_ROWS_PER_SPLIT (250 *
4096), last split contained a limit of zero, instead of
MAX_ROWS_PER_SPLIT.
@ebyhr ebyhr merged commit 80ad6c4 into trinodb:master Nov 6, 2024
18 checks passed
@github-actions github-actions bot added this to the 465 milestone Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants