rkhachatryan commented on a change in pull request #19249:
URL: https://github.com/apache/flink/pull/19249#discussion_r837632461
##########
File path:
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/BuiltInAggregateFunctionTestBase.java
##########
@@ -204,25 +205,39 @@ TestSpec testResult(
return this;
}
- private Executable createTestItemExecutable(TestItem testItem) {
+ private Executable createTestItemExecutable(
+ TestItem testItem, boolean stateBackendChangelogEnabled) {
return () -> {
+ Configuration conf = new Configuration();
+ conf.set(
+ StateChangelogOptions.ENABLE_STATE_CHANGE_LOG,
+ stateBackendChangelogEnabled);
Review comment:
The changelog is enabled randomly from `flink/pom.xml` unless explicitly
disabled (currently, it **is** disabled for this test). So there is no need to
enable it explicitly.
Instead, it probably makes sense to parameterize the test with the type of
backend (currently it uses HEAP, but would fail with ROCKSDB), ideally.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]