diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertUtils.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertUtils.java index a104ac824579cf6..095345c1f94f19b 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertUtils.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertUtils.java @@ -367,8 +367,7 @@ public static Plan normalizePlan(LogicalPlan plan, TableIf table, ); } - Optional analyzer = Optional.empty(); - analyzeContext.map( + Optional analyzer = analyzeContext.map( cascadesContext -> buildExprAnalyzer(plan, cascadesContext) );