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

Update ahash requirement from 0.7 to 0.8 #3161

Merged
merged 4 commits into from Aug 16, 2022

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Aug 15, 2022

Which issue does this PR close?

Closes #3094 (thanks @dependabot!)

Rationale for this change

Keep up with dependencies, ideally before 11.0.0 is released #3012

What changes are included in this PR?

  1. Update to ahash 0.8
  2. Update for API that has been made crate private

Are there any user-facing changes?

no

dependabot bot and others added 3 commits August 10, 2022 08:28
Updates the requirements on [ahash](https://github.com/tkaitchuck/ahash) to permit the latest version.
- [Release notes](https://github.com/tkaitchuck/ahash/releases)
- [Commits](tkaitchuck/aHash@v0.7.6...v0.8.0)

---
updated-dependencies:
- dependency-name: ahash
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions github-actions bot added core Core datafusion crate logical-expr Logical plan and expressions physical-expr Physical Expressions sql labels Aug 15, 2022
@@ -43,11 +43,11 @@ fn hash_null(random_state: &RandomState, hashes_buffer: &'_ mut [u64], mul_col:
if mul_col {
hashes_buffer.iter_mut().for_each(|hash| {
// stable hash for null value
*hash = combine_hashes(i128::get_hash(&1, random_state), *hash);
*hash = combine_hashes(random_state.hash_one(&1), *hash);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These changes are required due to tkaitchuck/aHash#121 which appears to have made CallHasher crate private

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Largely the same change @Dandandan applied in apache/arrow-rs#2410

@alamb alamb marked this pull request as ready for review August 15, 2022 20:13
@codecov-commenter
Copy link

Codecov Report

Merging #3161 (7b3f4f4) into master (5778ef2) will increase coverage by 0.00%.
The diff coverage is 71.42%.

@@           Coverage Diff           @@
##           master    #3161   +/-   ##
=======================================
  Coverage   85.87%   85.88%           
=======================================
  Files         291      291           
  Lines       52758    52758           
=======================================
+ Hits        45307    45309    +2     
+ Misses       7451     7449    -2     
Impacted Files Coverage Δ
datafusion/core/src/physical_plan/hash_utils.rs 40.05% <71.42%> (ø)
datafusion/core/src/physical_plan/metrics/value.rs 86.93% <0.00%> (-0.51%) ⬇️
datafusion/common/src/scalar.rs 84.61% <0.00%> (+0.06%) ⬆️
datafusion/expr/src/logical_plan/plan.rs 77.77% <0.00%> (+0.34%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@Dandandan Dandandan left a comment

Choose a reason for hiding this comment

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

Looks good @alamb, thanks.

@Dandandan Dandandan merged commit fbdb6f4 into apache:master Aug 16, 2022
@ursabot
Copy link

ursabot commented Aug 16, 2022

Benchmark runs are scheduled for baseline = 8ee31cc and contender = fbdb6f4. fbdb6f4 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@alamb alamb deleted the alamb/update_ahash branch August 16, 2022 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core datafusion crate logical-expr Logical plan and expressions physical-expr Physical Expressions sql
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants