[
https://issues.apache.org/jira/browse/FLINK-32975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hangxiang Yu resolved FLINK-32975.
----------------------------------
Fix Version/s: 1.19.0
Resolution: Fixed
merge
[aa8d93ea|https://github.com/apache/flink/commit/aa8d93ea239f5be79066b7e5caad08d966c86ab2]
into master
> Enhance equal() for all MapState's iterator
> -------------------------------------------
>
> Key: FLINK-32975
> URL: https://issues.apache.org/jira/browse/FLINK-32975
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / State Backends, Tests
> Reporter: Rui Xia
> Assignee: Rui Xia
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.19.0
>
>
> This ticket is originated from the junit version upgrade of Changelog module.
> The assertThat() in junit5 uses Object#equals to compare two Map.Entry. The
> unnamed class Map.Entry<UK, UV> in ChangelogMapState uses the default
> Object#equals(), which does not compares the contents of two entries.
> This ticket is to add a basic equal() implementation for the Map.Entry<UK,
> UV> in ChangelogMapState.
> EDIT: To be more general, the equal() for RocksDB MapState's iterator is also
> vacant. It would better align the behavior of the comparsion of all
> MapState#Entry. This ticket will correct them together (RocksDB's and
> Changelog's).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)