Skip to content

Commit

Permalink
Make test join_with_hash_collision deterministic (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dandandan authored May 1, 2021
1 parent 23d02bb commit c945b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/src/physical_plan/hash_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ mod tests {
("y", &vec![200, 300]),
);

let random_state = RandomState::new();
let random_state = RandomState::with_seeds(0, 0, 0, 0);
let hashes_buff = &mut vec![0; left.num_rows()];
let hashes =
create_hashes(&[left.columns()[0].clone()], &random_state, hashes_buff)?;
Expand Down

0 comments on commit c945b03

Please sign in to comment.