Skip to content

ORC-1474: replaced deprecated getMinimum/Maximum in TestColumnStatistics - #1575

Closed
paliwalashish wants to merge 2 commits into
apache:mainfrom
paliwalashish:ORC-1474_replace_deprecatedmethods_TestColumnStatistics
Closed

paliwalashish wants to merge 2 commits into
apache:mainfrom
paliwalashish:ORC-1474_replace_deprecatedmethods_TestColumnStatistics

Conversation

@paliwalashish

@paliwalashish paliwalashish commented Aug 9, 2023 •

Copy link
Copy Markdown
Contributor

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

@github-actions github-actions Bot added the JAVA label Aug 9, 2023
@dongjoon-hyun dongjoon-hyun added this to the 2.0.0 milestone Aug 10, 2023

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @mystic-lama and @wgtmac .

@dongjoon-hyun dongjoon-hyun changed the title ORC-1474: replaced deprecated methods in TestColumnStatistics ORC-1474: replaced deprecated getMinimum/Maximum in TestColumnStatistics Aug 10, 2023
@paliwalashish
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants