[
https://issues.apache.org/jira/browse/BEAM-5868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Wang updated BEAM-5868:
---------------------------
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.
was:
In current implementation, Row's equals uses Objects.deepEquals, which only
deeply compare array. For example, List will 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.
> Row equality does not work for java data structures (e.g. List).
> ----------------------------------------------------------------
>
> Key: BEAM-5868
> URL: https://issues.apache.org/jira/browse/BEAM-5868
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql
> Reporter: Rui Wang
> Priority: Major
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)