Repository navigation
ORC-1474: replaced deprecated getMinimum/Maximum in TestColumnStatistics - #1575
Closed
paliwalashish wants to merge 2 commits into
Closed
paliwalashish wants to merge 2 commits into
paliwalashish wants to merge 2 commits into
Conversation
wgtmac
reviewed
Aug 9, 2023
dongjoon-hyun
approved these changes
Aug 10, 2023
dongjoon-hyun
left a comment
Member
There was a problem hiding this comment.
+1, LGTM. Thank you, @mystic-lama and @wgtmac .
getMinimum/Maximum in TestColumnStatistics
paliwalashish
deleted the
ORC-1474_replace_deprecatedmethods_TestColumnStatistics
branch
August 19, 2023 00:53
cxzl25
pushed a commit
to cxzl25/orc
that referenced
this pull request
Jan 11, 2024
…stics ### What changes were proposed in this pull request? As part of ORC-661, getMinimum/getMaximum were deprecated. TestColumnStatistics uses these deprecated methods. We need to replace them as getMinimum -> getMinimumLocalDate getMaximum -> getMaximumLocalDate ### Why are the changes needed? Updated deprecated methods to keep tests in sync with implementation and preventing failure when deprecated methods are removed from dependencies ### How was this patch tested? The Unit test case passes Closes apache#1575 from mystic-lama/ORC-1474_replace_deprecatedmethods_TestColumnStatistics. Authored-by: mystic-lama <mysticlama000@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@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?
As part of ORC-661, getMinimum/getMaximum were deprecated.
TestColumnStatistics uses these deprecated methods.
We need to replace them as
getMinimum -> getMinimumLocalDate
getMaximum -> getMaximumLocalDate
Why are the changes needed?
Updated deprecated methods to keep tests in sync with implementation and preventing failure when deprecated methods are removed from dependencies
How was this patch tested?
The Unit test case passes