This is an automated email from the ASF dual-hosted git repository.
liurenjie1024 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 273991ee feat(reader): Make ArrowReaderBuilder::new public (#1748)
273991ee is described below
commit 273991eee390038325866edb3df87a16a00fc4a8
Author: Matt Butrovich <[email protected]>
AuthorDate: Thu Oct 16 06:01:32 2025 -0400
feat(reader): Make ArrowReaderBuilder::new public (#1748)
## Which issue does this PR close?
- Part of #1749.
## What changes are included in this PR?
- Change `ArrowReaderBuilder::new` to be `pub` instead of `pub(crate)`.
## Are these changes tested?
- No new tests for this. Currently being used in DataFusion Comet:
https://github.com/apache/datafusion-comet/pull/2528
---
crates/iceberg/src/arrow/reader.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/iceberg/src/arrow/reader.rs
b/crates/iceberg/src/arrow/reader.rs
index 05aa6a4c..564b2811 100644
--- a/crates/iceberg/src/arrow/reader.rs
+++ b/crates/iceberg/src/arrow/reader.rs
@@ -68,7 +68,7 @@ pub struct ArrowReaderBuilder {
impl ArrowReaderBuilder {
/// Create a new ArrowReaderBuilder
- pub(crate) fn new(file_io: FileIO) -> Self {
+ pub fn new(file_io: FileIO) -> Self {
let num_cpus = available_parallelism().get();
ArrowReaderBuilder {