Neville Li created BEAM-7956:
--------------------------------
Summary: FloatCoder and DoubleCoder structuralValue doesn't handle
NaN
Key: BEAM-7956
URL: https://issues.apache.org/jira/browse/BEAM-7956
Project: Beam
Issue Type: Bug
Components: sdk-java-core
Affects Versions: 2.14.0
Reporter: Neville Li
Comparing {{Float}} and {{Double}} {{NaN}} values always yields {{false}}, even
though they serialize consistently to the same byte array.
{{FloatCoder}} and {{DoubleCoder}} override {{consistentWithEquals}} to
{{true}} but doesn't override {{structuralValue}} which return the orignal
{{NaN}} and fails comparison.
This trips {{MutationDetectors}} in tests.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)