You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Fan (Jira)" <ji...@apache.org> on 2025/10/22 14:43:00 UTC

[jira] [Resolved] (FLINK-38537) Fix the bug that can't compare correctly Double.NaN related attributes in StatsSummaryDto#equals method

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

Rui Fan resolved FLINK-38537.
-----------------------------
    Fix Version/s: 2.2.0
         Assignee: RocMarshal
       Resolution: Fixed

Merged to main(2.2.0) via: 7129b7a74b795643674010f870ed1bf1d8810654

> Fix the bug that can't compare correctly Double.NaN related attributes in StatsSummaryDto#equals method
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-38537
>                 URL: https://issues.apache.org/jira/browse/FLINK-38537
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / REST
>            Reporter: RocMarshal
>            Assignee: RocMarshal
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>         Attachments: image-2025-10-20-15-59-12-537.png, image-2025-10-20-16-04-35-990.png
>
>
> When I was woking for the REST API testing for FLIP-487 draft, I found that the StatsSummaryDto#equals would not work correctly when comparing two StatsSummaryDto objects.
> eg,
> !image-2025-10-20-15-59-12-537.png!
>  
>  
> And I'd like to fix it  as follows if the case would be considered as a bug :
> !image-2025-10-20-16-04-35-990.png!



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