apache / apache/beam

Row equality does not work for java data structures (e.g. List).

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

Description

In current implementation, Row's equals uses Objects.deepEquals, which only deeply compare array. For example, List will not be deeply compared because this function will just call List.equals.

Map might not have the correct equals as well.

If there is no other option, we might need to have a customized deep equal to handle all cases we have.

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.