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

Sagar Sumit closed HUDI-7852.
-----------------------------
    Resolution: Fixed

> Constrain the comparison of different types of ordering values to limited 
> cases
> -------------------------------------------------------------------------------
>
>                 Key: HUDI-7852
>                 URL: https://issues.apache.org/jira/browse/HUDI-7852
>             Project: Apache Hudi
>          Issue Type: Improvement
>            Reporter: Ethan Guo
>            Assignee: Ethan Guo
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>
> HoodieBaseFileGroupRecordBuffer#compareTo compares the numbers by casting 
> them to the long value, which may not be safe for Float and Double.  We 
> should limit the allowed cases to avoid wrong results.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to