mkleen opened a new pull request, #26727: URL: https://github.com/apache/datafusion/pull/26727
## Which issue does this PR close? - Follow-up of #26595 ## Rationale for this change #26595 added a helper that turns `-0.0` into `0.0` in a single value. It works on a ScalarValue, so it makes more sense as a method on ScalarValue. ## What changes are included in this PR? - The helper is now a method: `ScalarValue::normalize()`. - The old function `normalize_float_scalar` is removed, and the code that used it now calls the new method. ## What is the testing strategy for this PR? The existing test was moved along with the helper. Nothing else changes, so the existing tests still apply. ## Are there any user-facing changes? - A new method, `ScalarValue::normalize()`. - `normalize_float_scalar` is removed. It was added in #26595 and was never part of a release, so nobody depends on it yet. - Query results don't change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
