[ 
https://issues.apache.org/jira/browse/CALCITE-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CALCITE-7952:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> {{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)

Reply via email to