diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/paimon/PaimonExternalTable.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/paimon/PaimonExternalTable.java index 78639761ede684..0acefcc46c7816 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/paimon/PaimonExternalTable.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/paimon/PaimonExternalTable.java @@ -97,13 +97,7 @@ protected synchronized void makeSureInitialized() { } public Table getPaimonTable(Optional snapshot) { - if (snapshot.isPresent()) { - // MTMV scenario: get from snapshot cache - return getOrFetchSnapshotCacheValue(snapshot).getSnapshot().getTable(); - } else { - // Normal query scenario: get directly from table cache - return PaimonUtils.getPaimonTable(this); - } + return getOrFetchSnapshotCacheValue(snapshot).getSnapshot().getTable(); } private PaimonSnapshotCacheValue getPaimonSnapshotCacheValue(Optional tableSnapshot,