Luke Cwik created BEAM-3385: ------------------------------- Summary: 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 Priority: Minor
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 (v6.4.14#64029)