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

Luke Cwik updated BEAM-3385:
----------------------------
    Fix Version/s: 2.34.0
       Resolution: Fixed
           Status: Resolved  (was: Open)

> SerializableCoder should document types need to implement equals and hashCode 
> correctly
> ---------------------------------------------------------------------------------------
>
>                 Key: BEAM-3385
>                 URL: https://issues.apache.org/jira/browse/BEAM-3385
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Luke Cwik
>            Assignee: Aydar Zaynutdinov
>            Priority: P3
>              Labels: Clarified
>             Fix For: 2.34.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> We should document that SerializableCoder should be used only for objects 
> that have a proper equals() and hashCode(). Because we need some structural 
> value for mutation detection, and since this coder is non-deterministic, it 
> can't provide any structural value other than the object itself. In this 
> case, I suppose, the work would involve just documentation.
> Source for this JIRA stems from this discussion on dev@:
> https://lists.apache.org/thread.html/8b2dcf09ba8e46b3c008293d99e4028d10463148b68326687dc29a4d@%3Cdev.beam.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to