You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Sruhvx-jpg (via GitHub)" <gi...@apache.org> on 2026/09/07 10:48:52 UTC
[PR] feat(storage): zero-copy writes and empty bucket validation for object_store backend [iceberg-rust]
Sruhvx-jpg opened a new pull request, #3167:
URL: https://github.com/apache/iceberg-rust/pull/3167
## Which issue does this PR close?
- Closes #3166
## What changes are included in this PR?
- **Zero-Copy Writes**: Switch `ObjectStoreWriter::write` from `writer.write(&bs)` to `writer.put(bs)` to pass owned `bytes::Bytes` directly without copying memory into intermediate buffers.
- **Empty Bucket Validation**: Reject S3 URLs with empty bucket strings (e.g. `s3:///path/to/file` or `s3://`) with `ErrorKind::DataInvalid`.
- **Unit Tests**: Added `test_parse_s3_url_empty_bucket`.
## Context
Builds on the foundation introduced in #3165 to resolve #3166.
## Are these changes tested?
Yes, all 12 unit tests passing in `crates/storage/object_store` (`cargo test -p iceberg-storage-object_store`).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] feat(storage): zero-copy writes and empty bucket validation for object_store backend [iceberg-rust]
Posted by "Sruhvx-jpg (via GitHub)" <gi...@apache.org>.
Sruhvx-jpg closed pull request #3167: feat(storage): zero-copy writes and empty bucket validation for object_store backend
URL: https://github.com/apache/iceberg-rust/pull/3167
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] feat(storage): zero-copy writes and empty bucket validation for object_store backend [iceberg-rust]
Posted by "Sruhvx-jpg (via GitHub)" <gi...@apache.org>.
Sruhvx-jpg commented on PR #3167:
URL: https://github.com/apache/iceberg-rust/pull/3167#issuecomment-5569634102
Apologies for the clutter and notification noise. My mistake on the branch diffs, everything is now cleanly unified in #3165 :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] feat(storage): zero-copy writes and empty bucket validation for object_store backend [iceberg-rust]
Posted by "Sruhvx-jpg (via GitHub)" <gi...@apache.org>.
Sruhvx-jpg commented on PR #3167:
URL: https://github.com/apache/iceberg-rust/pull/3167#issuecomment-5569584270
Closing this PR as these improvements (zero-copy writes and empty bucket validation) have been folded directly into #3165 to keep the review unified and avoid duplicate diffs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org