Skip to content

feat(io): Add delete_stream to Storage trait#2216

Merged
blackmwk merged 12 commits intoapache:mainfrom
CTTY:ctty/delete-stream-new
Mar 17, 2026
Merged

feat(io): Add delete_stream to Storage trait#2216
blackmwk merged 12 commits intoapache:mainfrom
CTTY:ctty/delete-stream-new

Conversation

@CTTY
Copy link
Copy Markdown
Collaborator

@CTTY CTTY commented Mar 6, 2026

Which issue does this PR close?

What changes are included in this PR?

  • Add delete_stream to Storage trait to support batch delete
  • Expose delete_stream in FileIO as well

Are these changes tested?

Added uts
Addded integtests for opendal

Comment thread crates/storage/opendal/src/lib.rs Outdated
Comment thread crates/storage/opendal/src/lib.rs Outdated
Comment thread crates/storage/opendal/src/lib.rs
Comment thread crates/storage/opendal/tests/file_io_s3_test.rs
Comment thread crates/iceberg/src/io/file_io.rs Outdated
Comment thread crates/storage/opendal/src/lib.rs Outdated
Comment thread crates/storage/opendal/tests/file_io_s3_test.rs
Comment thread crates/storage/opendal/tests/file_io_s3_test.rs
Copy link
Copy Markdown
Contributor

@blackmwk blackmwk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CTTY for this pr!

Comment thread crates/storage/opendal/src/lib.rs Outdated
@blackmwk
Copy link
Copy Markdown
Contributor

Let's hold on a while for 0.9.0 release.

@blackmwk blackmwk merged commit a54e442 into apache:main Mar 17, 2026
20 checks passed
big-mac-slice pushed a commit to perpetualsystems/iceberg-rust that referenced this pull request Apr 2, 2026
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes apache#2065 

## What changes are included in this PR?
- Add `delete_stream` to `Storage` trait to support batch delete
- Expose `delete_stream` in `FileIO` as well
<!--
Provide a summary of the modifications in this PR. List the main changes
such as new features, bug fixes, refactoring, or any other updates.
-->

## Are these changes tested?
Added uts
Addded integtests for opendal
<!--
Specify what test covers (unit test, integration test, etc.).

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
toutane pushed a commit to DataDog/iceberg-rust that referenced this pull request Apr 23, 2026
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes apache#2065 

## What changes are included in this PR?
- Add `delete_stream` to `Storage` trait to support batch delete
- Expose `delete_stream` in `FileIO` as well
<!--
Provide a summary of the modifications in this PR. List the main changes
such as new features, bug fixes, refactoring, or any other updates.
-->

## Are these changes tested?
Added uts
Addded integtests for opendal
<!--
Specify what test covers (unit test, integration test, etc.).

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
toutane added a commit to DataDog/iceberg-rust that referenced this pull request Apr 23, 2026
toutane pushed a commit to DataDog/iceberg-rust that referenced this pull request Apr 23, 2026
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes apache#2065 

## What changes are included in this PR?
- Add `delete_stream` to `Storage` trait to support batch delete
- Expose `delete_stream` in `FileIO` as well
<!--
Provide a summary of the modifications in this PR. List the main changes
such as new features, bug fixes, refactoring, or any other updates.
-->

## Are these changes tested?
Added uts
Addded integtests for opendal
<!--
Specify what test covers (unit test, integration test, etc.).

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
toutane pushed a commit to DataDog/iceberg-rust that referenced this pull request Apr 23, 2026
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes apache#2065 

## What changes are included in this PR?
- Add `delete_stream` to `Storage` trait to support batch delete
- Expose `delete_stream` in `FileIO` as well
<!--
Provide a summary of the modifications in this PR. List the main changes
such as new features, bug fixes, refactoring, or any other updates.
-->

## Are these changes tested?
Added uts
Addded integtests for opendal
<!--
Specify what test covers (unit test, integration test, etc.).

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support batch delete in Storage

2 participants