apache / apache/beam

Coders should have meaningful equals methods

Open
#18,178 0 comments 0 reactions 0 assignees View on GitHub
bug core java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

`StandardCoder` implements an equality check based on the component coders and equal classes. Any coder that is configured, or that does not extend `StandardCoder`, should have meaningful implementations of `equals` and `hashCode`

Imported from Jira [BEAM-1202](https://issues.apache.org/jira/browse/BEAM-1202). Original Jira may contain additional context.
Reported by: tgroh.

Contributor guide

Open the contributing guide

Research direction

Start with StandardCoder and trace coder implementations that are configured or do not extend it, noting how component coders and equal classes currently participate in equality. Define the affected coder set and verify that each has meaningful equals and hashCode behavior with focused Java tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.