Skip to content

Commit 0c7e4bc

Browse files
author
karuppayya
committed
Fix 4.0 compilation
1 parent 037b305 commit 0c7e4bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spark/v4.0/spark/src/main/java/org/apache/iceberg/spark/actions/DeleteOrphanFilesSparkAction.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ private DeleteOrphanFiles.Result doExecute() {
272272
}
273273
}
274274

275-
return ImmutableDeleteOrphanFiles.Result.builder().orphanFileLocations(orphanFiles).build();
275+
return ImmutableDeleteOrphanFiles.Result.builder()
276+
.orphanFileLocations(orphanFiles)
277+
.orphanFileLocationsCount(0)
278+
.build();
276279
}
277280

278281
private Dataset<FileURI> validFileIdentDS() {

0 commit comments

Comments
 (0)