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

Simplify ScalarValue::distance (#7517) #7519

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

tustvold
Copy link
Contributor

Which issue does this PR close?

Part of #7517

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@tustvold tustvold force-pushed the cleanup-scalar-value-distance branch from 99fa364 to 6fd3431 Compare September 10, 2023 20:14
@@ -4726,11 +4717,6 @@ mod tests {
ScalarValue::Decimal128(Some(123), 5, 5),
ScalarValue::Decimal128(Some(120), 5, 5),
),
// Overflows
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This no longer overflows 🎉

@tustvold tustvold merged commit 4abae3b into apache:main Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants