Skip to content

Commit b70e0f5

Browse files
committed
merge
1 parent 4cfcd28 commit b70e0f5

File tree

7 files changed

+101
-99
lines changed

7 files changed

+101
-99
lines changed

Cargo.lock

Lines changed: 50 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datafusion/core/tests/fuzz_cases/aggregate_fuzz.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ async fn test_median() {
241241
/// 1. Floating point numbers
242242
/// 1. structured types
243243
fn baseline_config() -> DatasetGeneratorConfig {
244-
let mut rng = thread_rng();
245-
let columns = get_supported_types_columns(rng.gen());
244+
let mut rng = rng();
245+
let columns = get_supported_types_columns(rng.random());
246246

247247
let min_num_rows = 512;
248248
let max_num_rows = 1024;
@@ -692,8 +692,8 @@ async fn test_single_mode_aggregate_with_spill() -> Result<()> {
692692
Arc::new(StringArray::from(
693693
(0..1024)
694694
.map(|_| -> String {
695-
thread_rng()
696-
.sample_iter::<char, _>(rand::distributions::Standard)
695+
rng()
696+
.sample_iter::<char, _>(rand::distr::StandardUniform)
697697
.take(5)
698698
.collect()
699699
})

0 commit comments

Comments
 (0)