[
https://issues.apache.org/jira/browse/HUDI-9553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Voon Hou updated HUDI-9553:
---------------------------
Description:
Predicate inner classes do not have a *equals* and *hashcode* override. As
such, it's not possible to compare equality unless toString is used.
This class is currently used in Trino to implement Expression Index.
This Jira ticket tracks the task of implementing *equals* and *hashcode* method
for each of the inner classes. Unit tests will also be added.
After this is implemented, users will be able to perform unit tests using
assertEquals on Predicate innerclasses directly without calling {*}toString{*}.
was:
Predicate inner classes do not have a *equals* and *hashcode* override. As
such, it's not possible to compare equality unless toString is used.
This class is currently used in Trino to implement Expression Index.
This Jira ticket tracks the task of implementing *equals* and *hashcode* method
for each of the inner classes. Unit tests will also be added
> Add equals and hashcode override for Predicate static classes
> -------------------------------------------------------------
>
> Key: HUDI-9553
> URL: https://issues.apache.org/jira/browse/HUDI-9553
> Project: Apache Hudi
> Issue Type: Task
> Reporter: Voon Hou
> Assignee: Voon Hou
> Priority: Major
> Labels: pull-request-available
>
> Predicate inner classes do not have a *equals* and *hashcode* override. As
> such, it's not possible to compare equality unless toString is used.
> This class is currently used in Trino to implement Expression Index.
> This Jira ticket tracks the task of implementing *equals* and *hashcode*
> method for each of the inner classes. Unit tests will also be added.
> After this is implemented, users will be able to perform unit tests using
> assertEquals on Predicate innerclasses directly without calling
> {*}toString{*}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)