Skip to content

Conversation

rkhachatryan
Copy link
Contributor

@rkhachatryan rkhachatryan commented Sep 30, 2025

This PR extends test coverage for SinkUpsertMaterializer.
The tests will be parameterized in #27070 to test the current and the new version of it.

@rkhachatryan rkhachatryan changed the title F38460 Improve test coverage for SinkUpsertMaterializer Sep 30, 2025
@rkhachatryan rkhachatryan changed the title Improve test coverage for SinkUpsertMaterializer [FLINK-38460][tests] Improve test coverage for SinkUpsertMaterializer Sep 30, 2025
@flinkbot
Copy link
Collaborator

flinkbot commented Sep 30, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

import org.apache.flink.runtime.state.hashmap.HashMapStateBackend;

/** StateBackend to test SinkUpsertMaterializer with. */
public enum SumStateBackend {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The term "sum" is very confusing in a SQL context where SUM, COUNT are core aggregation functions. Please use at least UpsertMaterializerStateBackend or so instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, renamed to SinkUpsertMaterializerStateBackend

@rkhachatryan rkhachatryan marked this pull request as ready for review September 30, 2025 20:00
@rkhachatryan
Copy link
Contributor Author

@twalthr can you take another look please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants