Skip to content

Commit

Permalink
fix: set execute_mode (#3607)
Browse files Browse the repository at this point in the history
  • Loading branch information
dl239 authored Dec 18, 2023
1 parent 3b715c2 commit 67391fc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 67391fc

Please sign in to comment.