List<ManifestFile> manifests() {
        List<ManifestFile> manifests = Lists.newArrayListWithCapacity(2);
        if (dataManifest != null) {
            manifests.add(dataManifest);
        }

        if (deleteManifest != null) {
            manifests.add(deleteManifest);
        }

        return manifests;
    }
Copy from iceberg-flink:iceberg-flink-1.15:1.3.1
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/DeltaManifests.java