stream2000 commented on code in PR #9515: URL: https://github.com/apache/hudi/pull/9515#discussion_r1317007650
########## hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/utils/CompactFunctionWrapper.java: ########## @@ -102,11 +108,10 @@ public void openFunction() throws Exception { public void compact(long checkpointID) throws Exception { // collect the CompactEvents. - CollectorOutput<CompactionPlanEvent> output = new CollectorOutput<>(); - compactionPlanOperator.setOutput(output); + compactionPlanOperator.setOutput(planEventOutput); Review Comment: to get RuntimeContext in `CompactionPlanOperator` in test. Current implementation will return null when we call `getRuntimeContext` -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org