Skip to content

Support batch delete in Storage #2065

@CTTY

Description

@CTTY

Is your feature request related to a problem or challenge?

As discussed here, we currently don't have a way to do batch deletes leveraging APIs like S3's DeleteObjects or Azure's BlobBatch

Describe the solution you'd like

Took a look at OpenDal and ObjectStore and noticed that they already have delete_iter and delete_stream to support this. From the iceberg side we can add delete_iter as well. Iterator can be easily converted to stream for ObjectStore's Storage implementation.

plus the paths to delete should be less than 1000(S3) and 256(Azure). pipelining the paths to backend storage won't be really necessary since the bottleneck is obviously the actual delete operation

Willingness to contribute

I can contribute to this feature independently

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions