This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch vector-index-dev
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/vector-index-dev by this push:
new 955c06557b0 [fix](vector) lost row id slot desc
955c06557b0 is described below
commit 955c06557b0c8e363ec8973bb05e74605d202ea0
Author: morrySnow <[email protected]>
AuthorDate: Tue Jun 17 14:24:34 2025 +0800
[fix](vector) lost row id slot desc
---
.../apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
index 0d3d64938a9..c263cdb3ee0 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
@@ -2633,12 +2633,12 @@ public class PhysicalPlanTranslator extends
DefaultPlanVisitor<PlanFragment, Pla
Set<SlotId> scanIds =
lazyScan.getOutput().stream().map(NamedExpression::getExprId)
.map(context::findSlotRef).filter(Objects::nonNull).map(SlotRef::getSlotId)
.collect(Collectors.toSet());
- context.createSlotDesc(olapScanNode.getTupleDesc(),
lazyScan.getRowId(), lazyScan.getTable());
for (SlotDescriptor slot : olapScanNode.getTupleDesc().getSlots()) {
if (!scanIds.contains(slot.getId())) {
slot.setIsMaterialized(false);
}
}
+ context.createSlotDesc(olapScanNode.getTupleDesc(),
lazyScan.getRowId(), lazyScan.getTable());
for (Slot slot : lazyScan.getOutput()) {
if (((SlotReference) slot).getOriginalColumn().isPresent()) {
olapScanNode.addTopnLazyMaterializeOutputColumns(((SlotReference)
slot).getOriginalColumn().get());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]