[bugfix](iceberg)Fixed missing type of iceberg table for timetravel for 2.1 (#36048)
bp: #36047
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user