diff --git a/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVPlanUtil.java b/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVPlanUtil.java index 8e994fce1d281f9..c0cd47bd5a0f2fb 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVPlanUtil.java +++ b/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVPlanUtil.java @@ -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())));