From 2d02a017da65d83dd7008e6c05bedc8209721014 Mon Sep 17 00:00:00 2001 From: 924060929 <924060929@qq.com> Date: Tue, 24 Sep 2024 16:38:13 +0800 Subject: [PATCH] optimize --- .../java/org/apache/doris/planner/PartitionPrunerV2Base.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/planner/PartitionPrunerV2Base.java b/fe/fe-core/src/main/java/org/apache/doris/planner/PartitionPrunerV2Base.java index 1d9f163ca804e4..6b34f037411e20 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/planner/PartitionPrunerV2Base.java +++ b/fe/fe-core/src/main/java/org/apache/doris/planner/PartitionPrunerV2Base.java @@ -108,7 +108,7 @@ public PartitionPrunerV2Base(Map idToPartitionItem, public Collection prune() throws AnalysisException { Map columnToFilters = Maps.newHashMap(); for (Column column : partitionColumns) { - ColumnRange columnRange = columnNameToRange.get(column.getName()); + ColumnRange columnRange = columnNameToRange.get(column.getName().toLowerCase()); if (columnRange == null) { columnToFilters.put(column, FinalFilters.noFilters()); } else {