Skip to content

Conversation

@thomasrebele
Copy link
Contributor

What changes were proposed in this pull request?

As described in HIVE-29275, the compareTo method of Decimal leads to wrong result. This PR proposes to use HiveDecimal#compareTo instead.

Why are the changes needed?

Fixes the stats processed by DecimalColumnStatsMerger.

Does this PR introduce any user-facing change?

Yes, the statistics might change.

How was this patch tested?

Unit tests, qfile tests.

Copy link
Contributor

@InvisibleProgrammer InvisibleProgrammer left a comment

Choose a reason for hiding this comment

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

I just had minor questions. On overall, it LGTM.

@sonarqubecloud
Copy link

@kasakrisz kasakrisz merged commit aa800ef into apache:master Nov 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants