Skip to content

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

@kennknowles

Description

@kennknowles

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. Original Jira may contain additional context.
Reported by: amaliujia.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions