You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2024/06/07 13:14:03 UTC
(doris) branch branch-2.1 updated: [bugfix](iceberg)Fixed missing type of iceberg table for timetravel for 2.1 (#36048)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 240d8938f8e [bugfix](iceberg)Fixed missing type of iceberg table for timetravel for 2.1 (#36048)
240d8938f8e is described below
commit 240d8938f8e77f1962946007e21a8abdb974c5fa
Author: wuwenchi <wu...@hotmail.com>
AuthorDate: Fri Jun 7 21:13:56 2024 +0800
[bugfix](iceberg)Fixed missing type of iceberg table for timetravel for 2.1 (#36048)
bp: #36047
---
.../apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java | 3 +++
1 file changed, 3 insertions(+)
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 e58e6c697c1..9902921f39a 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
@@ -590,6 +590,9 @@ public class PhysicalPlanTranslator extends DefaultPlanVisitor<PlanFragment, Pla
}
} else if (table instanceof IcebergExternalTable) {
scanNode = new IcebergScanNode(context.nextPlanNodeId(), tupleDescriptor, false);
+ if (fileScan.getTableSnapshot().isPresent()) {
+ ((IcebergScanNode) scanNode).setTableSnapshot(fileScan.getTableSnapshot().get());
+ }
} else if (table instanceof PaimonExternalTable) {
scanNode = new PaimonScanNode(context.nextPlanNodeId(), tupleDescriptor, false);
} else if (table instanceof MaxComputeExternalTable) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org