You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Rui Wang (JIRA)" <ji...@apache.org> on 2018/10/28 22:04:00 UTC
[jira] [Updated] (BEAM-5868) Row equality does not work for java
data structures (e.g. List).
[ 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)