yunfengzhou-hub commented on code in PR #111: URL: https://github.com/apache/flink-ml/pull/111#discussion_r901202810
########## flink-ml-benchmark/src/main/java/org/apache/flink/ml/benchmark/BenchmarkUtils.java: ########## @@ -99,6 +99,7 @@ private static BenchmarkResult runBenchmark( DataGenerator<?> modelDataGenerator) throws Exception { StreamExecutionEnvironment env = TableUtils.getExecutionEnvironment(tEnv); + env.getConfig().enableObjectReuse(); Review Comment: Got it. If we can make that Flink ML algorithms won't throw exceptions when object reuse is enabled, then I agree that we can add this configuration to BenchmarkUtils at it does not have other side effects. -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org