chore: Upgrade rand crate and some other minor crates#14967
chore: Upgrade rand crate and some other minor crates#14967comphead wants to merge 0 commit intoapache:mainfrom
rand crate and some other minor crates#14967Conversation
|
Looks like some tests relying on random data generation may fail if the |
b6ef148 to
6f3b6c5
Compare
|
Depends on apache/arrow-rs#7293 |
|
Depends on apache/arrow-rs#7126. |
|
wasm pack fails because |
|
@mbrobbel cc as you working on the migration of arrow-rs |
| #[tokio::test] | ||
| // The result can be flaky if `rand` crate updated. | ||
| // | ||
| // Reason: Data generated by |
There was a problem hiding this comment.
These fuzzy tests based random data gen become non relevant because of rand version upgrade and seems the seed now returns different random values, different from what tests expect in terms of data distribution, column data, etc making the test useless. Considering the Filter Pushdown is important test and conditions in the tests are carefully chosen to cover use cases, we probably materialize the parquet file and get rid of random data gen to avoid test to be stale when rand crate upgraded.
@mbrobbel WDYT?
There was a problem hiding this comment.
I noticed the same (in #14447) for some different tests, which I fixed by explicitly using rand_chacha: e.g. https://github.com/apache/datafusion/pull/14447/files#diff-4a599584dfc900ec21169f4f820a1b1db46b004b77533dab83a6178d5d3a467eR4253 following https://rust-random.github.io/book/crate-reprod.html.
|
Depends on apache/arrow-rs#7084 |
|
this wasm PR might be related https://github.com/apache/datafusion/pull/15595/files |
|
oops |
Which issue does this PR close?
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?