[
https://issues.apache.org/jira/browse/CALCITE-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7952.
----------------------------------
Fix Version/s: 1.43.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/020e0e2cf90780c3ce0b35dcbf04a2211c462aff]
Thank you for the fix [[email protected]]
> Functions.deepEquals and Functions.deepHashCode should ignore BigDecimal scale
> ------------------------------------------------------------------------------
>
> Key: CALCITE-7952
> URL: https://issues.apache.org/jira/browse/CALCITE-7952
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.42.0
> Reporter: Kirill Tkalenko
> Assignee: Kirill Tkalenko
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.43.0
>
>
> {{Functions.deepEquals}} treats numerically equal {{BigDecimal}} values such
> as {{1.0}} and {{1.00}} as different, and {{Functions.deepHashCode}} can
> assign them different hashes. Deep equality should compare decimal values
> numerically and produce identical hashes for equal values, including when
> they appear inside arrays, lists, or maps.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)