Skip to content

Conversation

Dandandan
Copy link
Contributor

Which issue does this PR close?

Closes #227

Rationale for this change

Fix non-deterministic test

What changes are included in this PR?

Initialize the random state with a constant seed, so no hashes will end up with the same entry by chance.

Are there any user-facing changes?

No

FYI
@jorgecarleitao

@codecov-commenter
Copy link

Codecov Report

Merging #229 (80a673a) into master (23d02bb) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 80a673a differs from pull request most recent head 63ac2db. Consider uploading reports for the commit 63ac2db to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #229   +/-   ##
=======================================
  Coverage   76.46%   76.46%           
=======================================
  Files         135      135           
  Lines       23250    23250           
=======================================
  Hits        17777    17777           
  Misses       5473     5473           
Impacted Files Coverage Δ
datafusion/src/physical_plan/hash_join.rs 85.94% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23d02bb...63ac2db. Read the comment docs.

Copy link
Member

@jorgecarleitao jorgecarleitao left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @Dandandan 👍 This will make python-datafusion green :)

@Dandandan Dandandan merged commit c945b03 into apache:master May 1, 2021
@jorgecarleitao
Copy link
Member

First merge!!! 🎉🎉🎉🎉

@Dandandan
Copy link
Contributor Author

Dandandan commented May 1, 2021

First merge!!! 🎉🎉🎉

Woohoo

mustafasrepo added a commit that referenced this pull request Dec 25, 2023
mustafasrepo added a commit that referenced this pull request Dec 25, 2023
unkloud pushed a commit to unkloud/datafusion that referenced this pull request Mar 23, 2025
* chore: Handle deprecation of timestamp_micros()

* chore: Handle deprecation of seconds()

---------

Co-authored-by: Steve Vaughan Jr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermitent failure in CI join_with_hash_collision
4 participants