-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-38460][tests] Improve test coverage for SinkUpsertMaterializer #27068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
import org.apache.flink.runtime.state.hashmap.HashMapStateBackend; | ||
|
||
/** StateBackend to test SinkUpsertMaterializer with. */ | ||
public enum SumStateBackend { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, renamed to SinkUpsertMaterializerStateBackend
d542ebb
to
c7e2cb7
Compare
c7e2cb7
to
bbc876d
Compare
@twalthr can you take another look please? |
This PR extends test coverage for
SinkUpsertMaterializer
.The tests will be parameterized in #27070 to test the current and the new version of it.