Skip to content

S3FileIO does not raise exception when failing to drop/purge data #12420

Open
@mderoy

Description

@mderoy

Apache Iceberg version

1.8.0 (latest release)

Query engine

None

Please describe the bug 🐞

Due to a failure using the latest AWS sdk the deleteObjects api began failing. This is because the AWS SDK 2.30.0 added changes to the default integrity protection (see aws/aws-sdk-java-v2#5802), which negatively affects S3-compliant object storage solutions.

This means that the dropTable api's purge option stopped working.

This caused thousands of objects to build up on our minio s3 filesystem without our immediate knowledge, as the exception was not being raised to the application. Expected behavior would be that failing to purge files should raise some kind of error when calling the catalog.dropTable API

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions