Repository navigation
ORC-1472: Replace deprecated method in TestMurmur3.java - #1573
Closed
paliwalashish wants to merge 1 commit into
Closed
paliwalashish wants to merge 1 commit into
paliwalashish wants to merge 1 commit into
Conversation
Member
|
cc @williamhyun |
dongjoon-hyun
approved these changes
Aug 7, 2023
Member
There was a problem hiding this comment.
+1, LGTM because we use Guava 31+ test dependency since ORC-1066 .
williamhyun
approved these changes
Aug 8, 2023
williamhyun
left a comment
Member
There was a problem hiding this comment.
+1 LGTM, I will merge this now.
Member
|
Thank you, @mystic-lama and @williamhyun . |
paliwalashish
deleted the
ORC-1472_replace_deprecatemethod_TestMurmur3
branch
September 22, 2023 03:44
cxzl25
pushed a commit
to cxzl25/orc
that referenced
this pull request
Jan 11, 2024
### What changes were proposed in this pull request? The PR proposes to update the use to deprecate method in TestMurmur3 to recommended one Hashing.murmur3_32(seed) has been deprecated and documentation recommends to use Hashing.murmur3_32_fixed ### Why are the changes needed? Google Guava v31+ has the following fix. - Issue: google/guava#5648 - Fix: google/guava@a36f08f Updating Deprecated method to use recommended ones is a good practice, as deprecated methods might have bugs or gets removed from subsequent releases. ### How was this patch tested? The Unit tests with changes passes Closes apache#1573 from mystic-lama/ORC-1472_replace_deprecatemethod_TestMurmur3. Authored-by: mystic-lama <mysticlama000@gmail.com> Signed-off-by: William Hyun <william@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
The PR proposes to update the use to deprecate method in TestMurmur3 to recommended one
Hashing.murmur3_32(seed) has been deprecated and documentation recommends to use Hashing.murmur3_32_fixed
Why are the changes needed?
Google Guava v31+ has the following fix.
Updating Deprecated method to use recommended ones is a good practice, as deprecated methods might have bugs or gets removed from subsequent releases.
How was this patch tested?
The Unit tests with changes passes