@VisibleForTesting
    static ListStateDescriptor<SortedMap<Long, byte[]>> buildStateDescriptor() {
        Comparator<Long> longComparator = Comparators.forType(Types.LongType.get());
        // Construct a SortedMapTypeInfo.
        SortedMapTypeInfo<Long, byte[]> sortedMapTypeInfo =
                new SortedMapTypeInfo<>(
                        BasicTypeInfo.LONG_TYPE_INFO,
                        PrimitiveArrayTypeInfo.BYTE_PRIMITIVE_ARRAY_TYPE_INFO,
                        longComparator);
        return new ListStateDescriptor<>("iceberg-files-committer-state", sortedMapTypeInfo);
    }
Write all the complete data files to a newly created manifest file and return the manifest's
avro serialized bytes.
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/IcebergFilesCommitter.java