Skip to content

Commit 1b19db9

Browse files
committed
fix
1 parent 728e38a commit 1b19db9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fe/fe-core/src/main/java/org/apache/doris/datasource/hive/HiveEngineCache.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ public EngineSnapshot getSnapshot(ExternalTable table, Optional<MvccSnapshot> sn
100100
return new HiveSnapshotMeta(hmsTable.getName(), hmsTable.getLastDdlTime());
101101
}
102102
HiveMetaStoreCache.HivePartitionValues partitionValues = hmsTable.getHivePartitionValues(snapshot);
103-
List<HivePartition> partitions = metaStoreCache.getAllPartitionsWithCache(
103+
List<org.apache.doris.datasource.hive.HivePartition> partitions = metaStoreCache.getAllPartitionsWithCache(
104104
hmsTable, new ArrayList<>(partitionValues.getPartitionValuesMap().values()));
105105
if (CollectionUtils.isEmpty(partitions)) {
106106
return new HiveSnapshotMeta(hmsTable.getName(), 0L);
107107
}
108-
HivePartition maxPartition = null;
108+
org.apache.doris.datasource.hive.HivePartition maxPartition = null;
109109
long maxTimestamp = 0L;
110110
List<Column> partitionColumns = hmsTable.getPartitionColumns(snapshot);
111-
for (HivePartition hivePartition : partitions) {
111+
for (org.apache.doris.datasource.hive.HivePartition hivePartition : partitions) {
112112
long currentTimestamp = hivePartition.getLastModifiedTime();
113113
if (currentTimestamp > maxTimestamp) {
114114
maxTimestamp = currentTimestamp;

0 commit comments

Comments
 (0)