Skip to content

SupportsBulkOperations for ResolvingFileIO #7975

@dramaticlly

Description

@dramaticlly

Feature Request / Improvement

Since #6682 provide major deletion performance improvement on S3 and hadoop fileIO, I think we can try to add SupportsBulkOperations for https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/io/ResolvingFileIO.java.

Today the ResolvingFileIO do dynamic fileIO loading based on location scheme, which are essentially fall to

However I realized the its method is given a iterable of location instead of singular,

void deleteFiles(Iterable<String> pathsToDelete) throws BulkDeletionFailureException;

so it does not fit out of box with current hashmap dynamic loading from scheme to its fileIO impl.

Questions

does it make sense to group prefix by scheme and delegate bulk deletion to dynamic IO?

@rdblue and @nastra do you have any suggestions on this?

Query engine

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions