diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java index 03aa3f700e141a..f5998c36202ee0 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java @@ -268,7 +268,7 @@ private List bindPartitionIds(OlapTable table, List partitions) { private List bindTargetColumns(OlapTable table, List colsName, boolean isNeedSequenceCol) { // if the table set sequence column in stream load phase, the sequence map column is null, we query it. return colsName.isEmpty() - ? table.getFullSchema().stream() + ? table.getBaseSchema(true).stream() .filter(c -> validColumn(c, isNeedSequenceCol)) .collect(ImmutableList.toImmutableList()) : colsName.stream().map(cn -> {