Skip to content

Commit 275dd53

Browse files
committed
fix
1 parent 99db75d commit 275dd53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

paimon-core/src/main/java/org/apache/paimon/index/IndexFileHandler.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ public List<IndexManifestEntry> scanEntries(
189189

190190
public List<IndexManifestEntry> scanEntries(
191191
Snapshot snapshot, String indexType, Set<BinaryRow> partitions) {
192+
if (snapshot == null) {
193+
return Collections.emptyList();
194+
}
192195
String indexManifest = snapshot.indexManifest();
193196
if (indexManifest == null) {
194197
return Collections.emptyList();

0 commit comments

Comments
 (0)