Kirill Tkalenko created CALCITE-7952:
----------------------------------------

             Summary: 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
            Reporter: Kirill Tkalenko
            Assignee: Kirill Tkalenko


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