You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/03/29 15:43:37 UTC

[GitHub] [flink] rkhachatryan commented on a change in pull request #19249: [FLINK-26092][table-runtime] Fix `JSON_OBJECTAGG` when emitting `NULL`

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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org