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

[parquet] Use deterministic data in parquet.batchreader.decoders.TestValuesDecoders #23840

Open
ZacBlanco opened this issue Oct 15, 2024 · 1 comment · May be fixed by #23956
Open

[parquet] Use deterministic data in parquet.batchreader.decoders.TestValuesDecoders #23840

ZacBlanco opened this issue Oct 15, 2024 · 1 comment · May be fixed by #23956

Comments

@ZacBlanco
Copy link
Contributor

Currently, all of these tests utilize randomness to generate page data for decoder verification. This can introduce test flakiness.

We should re-write these tests to use a deterministic set of values which encompasses the possible edge cases but prevents test failures

@ges1227
Copy link

ges1227 commented Nov 6, 2024

About to work on that issue.

ges1227 added a commit to ges1227/presto that referenced this issue Nov 6, 2024
The use of Random() function in the parquet.batchreader.decoders tests may cause flakiness.

Adds TestMode.java to parameterize tests with an arbitrary value and an upper-/lower-bounded value.

Resolves: prestodb#23840
@ges1227 ges1227 linked a pull request Nov 6, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 Unprioritized
Development

Successfully merging a pull request may close this issue.

3 participants