Skip to content

Commit

Permalink
disable debug session when refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Nov 5, 2024
1 parent 83f4ea8 commit 76170a3
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ public static ConnectContext createMTMVContext(MTMV mtmv) {
ctx.getState().reset();
ctx.setThreadLocalInfo();
ctx.getSessionVariable().allowModifyMaterializedViewData = true;
// Debug session variable should be disabled when refreshed
ctx.getSessionVariable().skipDeletePredicate = false;
ctx.getSessionVariable().skipDeleteBitmap = false;
ctx.getSessionVariable().skipDeleteSign = false;
ctx.getSessionVariable().skipStorageEngineMerge = false;
ctx.getSessionVariable().showHiddenColumns = false;
// Disable add default limit rule to avoid refresh data wrong
ctx.getSessionVariable().setDisableNereidsRules(
String.join(",", ImmutableSet.of(RuleType.ADD_DEFAULT_LIMIT.name())));
Expand Down

0 comments on commit 76170a3

Please sign in to comment.