diff --git a/benchmark/src/main/java/com/_4paradigm/openmldb/benchmark/OpenMLDBPerfBenchmark.java b/benchmark/src/main/java/com/_4paradigm/openmldb/benchmark/OpenMLDBPerfBenchmark.java index cbbbc8841d5..5fc8e4c346f 100644 --- a/benchmark/src/main/java/com/_4paradigm/openmldb/benchmark/OpenMLDBPerfBenchmark.java +++ b/benchmark/src/main/java/com/_4paradigm/openmldb/benchmark/OpenMLDBPerfBenchmark.java @@ -135,6 +135,7 @@ public void deploy() { String sql = Util.genScript(windowNum, windowSize, unionNum, joinNum); System.out.println(sql); Util.executeSQL("USE " + database + ";", executor); + Util.executeSQL("SET @@execute_mode='online';", executor); Util.executeSQL("DEPLOY " + deployName + " " + sql, executor); }