This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 202b7ca19 deploy: 7c4565114bef054a363712b15ae515c8d5332315
202b7ca19 is described below
commit 202b7ca1941667f18acd25cd1a2635fdbe283871
Author: CTTY <[email protected]>
AuthorDate: Mon May 18 22:22:58 2026 +0000
deploy: 7c4565114bef054a363712b15ae515c8d5332315
---
api/iceberg/arrow/struct.ArrowFileReader.html | 6 +-
api/iceberg_catalog_glue/struct.GlueCatalog.html | 96 ++--
.../struct.GlueCatalogBuilder.html | 4 +-
.../fn.from_datafusion_error.html | 2 +-
api/iceberg_datafusion/fn.to_datafusion_error.html | 2 +-
api/iceberg_datafusion/index.html | 2 +-
.../fn.convert_filters_to_predicate.html | 2 +-
.../physical_plan/fn.project_with_partition.html | 2 +-
api/iceberg_datafusion/physical_plan/index.html | 4 +-
.../physical_plan/struct.IcebergTableScan.html | 4 +-
.../struct.IcebergCatalogProvider.html | 6 +-
.../table/struct.IcebergStaticTableProvider.html | 6 +-
.../struct.IcebergTableProviderFactory.html | 2 +-
.../entry/{a660dad77266.js => caf8c9070ae1.js} | 2 +-
.../path/{6124392e895b.js => 07b126309c8d.js} | 2 +-
api/search.index/root.js | 2 +-
api/src/iceberg/arrow/reader/file_reader.rs.html | 508 +++++++++++----------
api/trait.impl/iceberg/catalog/trait.Catalog.js | 4 +-
.../iceberg/catalog/trait.CatalogBuilder.js | 4 +-
19 files changed, 333 insertions(+), 327 deletions(-)
diff --git a/api/iceberg/arrow/struct.ArrowFileReader.html
b/api/iceberg/arrow/struct.ArrowFileReader.html
index 122406cfd..2598ccd48 100644
--- a/api/iceberg/arrow/struct.ArrowFileReader.html
+++ b/api/iceberg/arrow/struct.ArrowFileReader.html
@@ -1,15 +1,15 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description"
content="ArrowFileReader is a wrapper around a FileRead that impls parquets
AsyncFileReader."><title>ArrowFileReader in iceberg::arrow -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-
[...]
</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-ArrowFileReader"
class="impl"><a class="src rightside"
href="../../src/iceberg/arrow/reader/file_reader.rs.html#40-55">Source</a><a
href="#impl-ArrowFileReader" class="anchor">§</a><h3 class="code-header">impl
<a class="struct" href="struct.ArrowFileRead [...]
-</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-AsyncFileReader-for-ArrowFileReader" class="impl"><a class="src
rightside"
href="../../src/iceberg/arrow/reader/file_reader.rs.html#57-135">Source</a><a
href="#impl-AsyncFileReader-for-ArrowFileReader" class= [...]
+</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-AsyncFileReader-for-ArrowFileReader" class="impl"><a class="src
rightside"
href="../../src/iceberg/arrow/reader/file_reader.rs.html#57-141">Source</a><a
href="#impl-AsyncFileReader-for-ArrowFileReader" class= [...]
&mut self,
ranges: <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html"
title="struct alloc::vec::Vec">Vec</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html"
title="struct core::ops::range::Range">Range</a><<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>>>,
) -> BoxFuture<'_, Result<<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html"
title="struct
alloc::vec::Vec">Vec</a><Bytes>>></h4></section></summary><div
class="docblock"><p>Override the default <code>get_byte_ranges</code> which
calls <code>get_bytes</code> sequentially.
The parquet reader calls this to fetch column chunks for a row group, so
without this override each column chunk is a serial round-trip to object
storage.
Adapted from object_store’s <code>coalesce_ranges</code> in
<code>util.rs</code>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.get_bytes" class="method trait-impl"><a class="src rightside"
href="../../src/iceberg/arrow/reader/file_reader.rs.html#58-64">Source</a><a
href="#method.get_bytes" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">get_bytes</a>(&mut self, range: <a class="struct"
href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html"
title="struct core::ops::range::Range">Range</a>< [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.get_bytes" class="method trait-impl"><a class="src rightside"
href="../../src/iceberg/arrow/reader/file_reader.rs.html#58-64">Source</a><a
href="#method.get_bytes" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">get_bytes</a>(&mut self, range: <a class="struct"
href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html"
title="struct core::ops::range::Range">Range</a>< [...]
&mut self,
- _options: <a class="enum"
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><&ArrowReaderOptions>,
+ options: <a class="enum"
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><&ArrowReaderOptions>,
) -> BoxFuture<'_, Result<<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"
title="struct
alloc::sync::Arc">Arc</a><ParquetMetaData>>></h4></section></summary><div
class='docblock'>Return a future which results in the
[<code>ParquetMetaData</code>] for this Parquet file. <a>Read
more</a></div></details></div></details></div><h2
id="synthetic-implementations" class="section-header">Auto Trait
Implementations<a href="#synthetic-imple [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href
[...]
T: CastFrom<U>,</div></h4></section></summary><div
class='docblock'>Casts <code>self</code> to type <code>T</code>. The <a
href="https://doc.rust-lang.org/reference/expressions/operator-expr.html#semantics">semantics
of numeric casting</a> with the <code>as</code> operator are followed, so
<code><T as As>::as_::<U></code> can be used in the same way as
<code>T as U</code> for numeric conversions. <a>Read
more</a></div></details></div></details><details class="toggle [...]
diff --git a/api/iceberg_catalog_glue/struct.GlueCatalog.html
b/api/iceberg_catalog_glue/struct.GlueCatalog.html
index c624d4123..a2ddd5220 100644
--- a/api/iceberg_catalog_glue/struct.GlueCatalog.html
+++ b/api/iceberg_catalog_glue/struct.GlueCatalog.html
@@ -1,19 +1,19 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Glue
Catalog"><title>GlueCatalog in iceberg_catalog_glue -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-
[...]
-</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-GlueCatalog"
class="impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#176-294">Source</a><a
href="#impl-GlueCatalog" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.GlueCatalog.html" title="s [...]
-</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-Catalog-for-GlueCatalog" class="impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#297-929">Source</a><a
href="#impl-Catalog-for-GlueCatalog" class="anchor">§</a><h3 class="code- [...]
+</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-GlueCatalog"
class="impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#176-294">Source</a><a
href="#impl-GlueCatalog" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.GlueCatalog.html" title="s [...]
+</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-Catalog-for-GlueCatalog" class="impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#297-929">Source</a><a
href="#impl-Catalog-for-GlueCatalog" class="anchor">§</a><h3 class="code- [...]
&'life0 self,
- parent: <a class="enum"
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><&'life1 NamespaceIdent>,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="struct" href="https://doc.rust-lang.org/nig [...]
+ parent: <a class="enum"
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><&'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>List namespaces from glue catalog.</p>
<p>Glue doesn’t support nested namespaces.
We will return an empty list if parent is some.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.create_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#351-371">Source</a><a
href="#method.create_namespace" class="anchor">§</a><h4 class="code-header">fn
<a class="fn">create_namespace</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.create_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#351-371">Source</a><a
href="#method.create_namespace" class="anchor">§</a><h4 class="code-header">fn
<a href="../iceberg/catalog/trait.Catalog.html#tymethod.create_namespace"
class="fn">create_namespace</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- namespace: &'life1 NamespaceIdent,
+ namespace: &'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>,
properties: <a class="struct"
href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html"
title="struct std::collections::hash::map::HashMap">HashMap</a><<a
class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>, <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>>,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output =
Result<Namespace>> + <a class="trait" href="https://do [...]
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Creates a new namespace with the given identifier and
properties.</p>
@@ -28,10 +28,10 @@ successfully converted into a database configuration.</li>
<li>Errors from the underlying database creation process, converted using
<code>from_sdk_error</code>.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.get_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#383-413">Source</a><a
href="#method.get_namespace" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">get_namespace</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.get_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#383-413">Source</a><a
href="#method.get_namespace" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.get_namespace"
class="fn">get_namespace</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- namespace: &'life1 NamespaceIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output =
Result<Namespace>> + <a class="trait" href="https://do [...]
+ namespace: &'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Retrieves a namespace by its identifier.</p>
@@ -44,10 +44,10 @@ Constructs a <code>Namespace</code> object with the
retrieved data and returns i
<li>If there is an error querying the database, returned by
<code>from_sdk_error</code>.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.namespace_exists" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#427-448">Source</a><a
href="#method.namespace_exists" class="anchor">§</a><h4 class="code-header">fn
<a class="fn">namespace_exists</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.namespace_exists" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#427-448">Source</a><a
href="#method.namespace_exists" class="anchor">§</a><h4 class="code-header">fn
<a href="../iceberg/catalog/trait.Catalog.html#tymethod.namespace_exists"
class="fn">namespace_exists</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- namespace: &'life1 NamespaceIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="primitive" href="https://doc.rust-lang.org/ [...]
+ namespace: &'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Checks if a namespace exists within the Glue Catalog.</p>
@@ -62,11 +62,11 @@ to determine if the specified namespace (database)
exists.</p>
<li><code>Err(...)</code> if an error occurs during validation or the Glue
Catalog
query, with the error encapsulating the issue.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.update_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#460-486">Source</a><a
href="#method.update_namespace" class="anchor">§</a><h4 class="code-header">fn
<a class="fn">update_namespace</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.update_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#460-486">Source</a><a
href="#method.update_namespace" class="anchor">§</a><h4 class="code-header">fn
<a href="../iceberg/catalog/trait.Catalog.html#tymethod.update_namespace"
class="fn">update_namespace</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- namespace: &'life1 NamespaceIdent,
+ namespace: &'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>,
properties: <a class="struct"
href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html"
title="struct std::collections::hash::map::HashMap">HashMap</a><<a
class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>, <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>>,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="primitive" href="https://doc.rust-lang.org/ [...]
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Asynchronously updates properties of an existing
namespace.</p>
@@ -77,10 +77,10 @@ in the Glue Catalog.</p>
<p>Returns <code>Ok(())</code> if the namespace update is successful. If the
namespace cannot be updated due to missing information or an error
during the update process, an <code>Err(...)</code> is returned.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.drop_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#498-522">Source</a><a
href="#method.drop_namespace" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">drop_namespace</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.drop_namespace" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#498-522">Source</a><a
href="#method.drop_namespace" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.drop_namespace"
class="fn">drop_namespace</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- namespace: &'life1 NamespaceIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="primitive" href="https://doc.rust-lang.org/ [...]
+ namespace: &'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Asynchronously drops a namespace from the Glue Catalog.</p>
@@ -93,10 +93,10 @@ namespace will not be dropped, but an error is returned
instead.</p>
<li><code>Err(...)</code> signifies failure to drop the namespace due to
validation
errors, connectivity issues, or Glue Catalog constraints.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.list_tables" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#532-566">Source</a><a
href="#method.list_tables" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">list_tables</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.list_tables" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#532-566">Source</a><a
href="#method.list_tables" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.list_tables"
class="fn">list_tables</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- namespace: &'life1 NamespaceIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="struct" href="https://doc.rust-lang.org/nig [...]
+ namespace: &'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Asynchronously lists all tables within a specified
namespace.</p>
@@ -108,11 +108,11 @@ representing a table within the specified namespace.</li>
<li><code>Err(...)</code> if an error occurs during namespace validation or
while
querying the database.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.create_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#580-631">Source</a><a
href="#method.create_table" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">create_table</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.create_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#580-631">Source</a><a
href="#method.create_table" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.create_table"
class="fn">create_table</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- namespace: &'life1 NamespaceIdent,
- creation: TableCreation,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output =
Result<Table>> + <a class="trait" href="https://doc.ru [...]
+ namespace: &'life1 <a class="struct"
href="../iceberg/catalog/struct.NamespaceIdent.html" title="struct
iceberg::catalog::NamespaceIdent">NamespaceIdent</a>,
+ creation: <a class="struct"
href="../iceberg/catalog/struct.TableCreation.html" title="struct
iceberg::catalog::TableCreation">TableCreation</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Creates a new table within a specified namespace using the
provided
@@ -125,10 +125,10 @@ table.</p>
namespace identifiers, failure to determine a default storage location,
issues generating or writing table metadata, and errors communicating
with the Glue Catalog.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.load_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#645-648">Source</a><a
href="#method.load_table" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">load_table</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.load_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#645-648">Source</a><a
href="#method.load_table" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.load_table"
class="fn">load_table</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- table: &'life1 TableIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output =
Result<Table>> + <a class="trait" href="https://doc.ru [...]
+ table: &'life1 <a class="struct"
href="../iceberg/catalog/struct.TableIdent.html" title="struct
iceberg::catalog::TableIdent">TableIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Loads a table from the Glue Catalog and constructs a
<code>Table</code> object
@@ -143,10 +143,10 @@ based on its metadata.</p>
<li>Absence of metadata location information in the table’s properties.</li>
<li>Issues reading or deserializing the table’s metadata file.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.drop_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#660-675">Source</a><a
href="#method.drop_table" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">drop_table</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.drop_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#660-675">Source</a><a
href="#method.drop_table" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.drop_table"
class="fn">drop_table</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- table: &'life1 TableIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="primitive" href="https://doc.rust-lang.org/ [...]
+ table: &'life1 <a class="struct"
href="../iceberg/catalog/struct.TableIdent.html" title="struct
iceberg::catalog::TableIdent">TableIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Asynchronously drops a table from the database.</p>
@@ -160,10 +160,10 @@ attempting to drop the table. This includes scenarios
where
the table does not exist.</li>
<li>Any network or communication error occurs with the database backend.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.table_exists" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#695-722">Source</a><a
href="#method.table_exists" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">table_exists</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.table_exists" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#695-722">Source</a><a
href="#method.table_exists" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.table_exists"
class="fn">table_exists</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- table: &'life1 TableIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="primitive" href="https://doc.rust-lang.org/ [...]
+ table: &'life1 <a class="struct"
href="../iceberg/catalog/struct.TableIdent.html" title="struct
iceberg::catalog::TableIdent">TableIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>Asynchronously checks the existence of a specified table
@@ -174,11 +174,11 @@ in the database.</p>
<li><code>Ok(false)</code> if the table does not exist in the database.</li>
<li><code>Err(...)</code> if an error occurs during the process</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.rename_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#730-802">Source</a><a
href="#method.rename_table" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">rename_table</a><'life0, 'life1, 'life2, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.rename_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#730-802">Source</a><a
href="#method.rename_table" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.rename_table"
class="fn">rename_table</a><'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
- src: &'life1 TableIdent,
- dest: &'life2 TableIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="primitive" href="https://doc.rust-lang.org/ [...]
+ src: &'life1 <a class="struct"
href="../iceberg/catalog/struct.TableIdent.html" title="struct
iceberg::catalog::TableIdent">TableIdent</a>,
+ dest: &'life2 <a class="struct"
href="../iceberg/catalog/struct.TableIdent.html" title="struct
iceberg::catalog::TableIdent">TableIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -189,11 +189,11 @@ or moves it between namespaces (databases).</p>
<li><code>Ok(())</code> on successful rename or move of the table.</li>
<li><code>Err(...)</code> if an error occurs during the process.</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.register_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#815-866">Source</a><a
href="#method.register_table" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">register_table</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.register_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#815-866">Source</a><a
href="#method.register_table" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.register_table"
class="fn">register_table</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- table_ident: &'life1 TableIdent,
+ table_ident: &'life1 <a class="struct"
href="../iceberg/catalog/struct.TableIdent.html" title="struct
iceberg::catalog::TableIdent">TableIdent</a>,
metadata_location: <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output =
Result<Table>> + <a class="trait" href="https://doc.ru [...]
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></summary><div
class="docblock"><p>registers an existing table into the Glue Catalog.</p>
@@ -205,16 +205,16 @@ corresponding table in the Glue Catalog.</p>
If the registration fails due to validation issues, existing table conflicts,
metadata problems, or errors during the registration or loading process,
an <code>Err(...)</code> is returned.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.purge_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#677-686">Source</a><a
href="#method.purge_table" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">purge_table</a><'life0, 'life1, 'async_trait>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.purge_table" class="method trait-impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#677-686">Source</a><a
href="#method.purge_table" class="anchor">§</a><h4 class="code-header">fn <a
href="../iceberg/catalog/trait.Catalog.html#tymethod.purge_table"
class="fn">purge_table</a><'life0, 'life1, 'async_trait>(
&'life0 self,
- table: &'life1 TableIdent,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = Result<<a
class="primitive" href="https://doc.rust-lang.org/ [...]
+ table: &'life1 <a class="struct"
href="../iceberg/catalog/struct.TableIdent.html" title="struct
iceberg::catalog::TableIdent">TableIdent</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,
- 'life1: 'async_trait,</div></h4></section></summary><div
class='docblock'>Drop a table from the catalog and delete the underlying table
data. <a>Read more</a></div></details><details class="toggle method-toggle"
open><summary><section id="method.update_table" class="method trait-impl"><a
class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#868-928">Source</a><a
href="#method.update_table" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">update_table</a> [...]
+ 'life1: 'async_trait,</div></h4></section></summary><div
class='docblock'>Drop a table from the catalog and delete the underlying table
data. <a href="../iceberg/catalog/trait.Catalog.html#tymethod.purge_table">Read
more</a></div></details><details class="toggle method-toggle"
open><summary><section id="method.update_table" class="method trait-impl"><a
class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#868-928">Source</a><a
href="#method.update_table" class="anch [...]
&'life0 self,
- commit: TableCommit,
-) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output =
Result<Table>> + <a class="trait" href="https://doc.ru [...]
+ commit: <a class="struct"
href="../iceberg/catalog/struct.TableCommit.html" title="struct
iceberg::catalog::TableCommit">TableCommit</a>,
+) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct
core::pin::Pin">Pin</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"
title="struct alloc::boxed::Box">Box</a><dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title= [...]
Self: 'async_trait,
'life0: 'async_trait,</div></h4></section></summary><div
class='docblock'>Update a table to the
catalog.</div></details></div></details><details class="toggle
implementors-toggle" open><summary><section id="impl-Debug-for-GlueCatalog"
class="impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#168-174">Source</a><a
href="#impl-Debug-for-GlueCatalog" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/nightly/co [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href
[...]
diff --git a/api/iceberg_catalog_glue/struct.GlueCatalogBuilder.html
b/api/iceberg_catalog_glue/struct.GlueCatalogBuilder.html
index 5ba0dd09b..f39d60b1a 100644
--- a/api/iceberg_catalog_glue/struct.GlueCatalogBuilder.html
+++ b/api/iceberg_catalog_glue/struct.GlueCatalogBuilder.html
@@ -1,9 +1,9 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Builder
for `GlueCatalog`."><title>GlueCatalogBuilder in iceberg_catalog_glue -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,F
[...]
-</div></details><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-CatalogBuilder-for-GlueCatalogBuilder"
class="impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#80-146">Source</a><a
href="#impl-CatalogBuilder-for-GlueCatalogBuilder" class="anchor">§</a><h3
class=" [...]
+</div></details><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-CatalogBuilder-for-GlueCatalogBuilder"
class="impl"><a class="src rightside"
href="../src/iceberg_catalog_glue/catalog.rs.html#80-146">Source</a><a
href="#impl-CatalogBuilder-for-GlueCatalogBuilder" class="anchor">§</a><h3
class=" [...]
self,
name: impl <a class="trait"
href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"
title="trait core::convert::Into">Into</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>>,
props: <a class="struct"
href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html"
title="struct std::collections::hash::map::HashMap">HashMap</a><<a
class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>, <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"
title="struct alloc::string::String">String</a>>,
-) -> impl <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output =
Result<Self::C>> + <a class="trait"
href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"
title="trait core::marker::Send">Send</a></h4></section></summary><div
class='docblock'>Create a new catalog
instance.</div></details></div></details><details class="toggle
implementors-toggle" open><summ [...]
+) -> impl <a class="trait"
href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html"
title="trait core::future::future::Future">Future</a><Output = <a
class="type" href="../iceberg/error/type.Result.html" title="type
iceberg::error::Result">Result</a><Self::<a class="associatedtype"
href="../iceberg/catalog/trait.CatalogBuilder.html#associatedtype.C"
title="type iceberg::catalog::CatalogBuilder::C">C</a>>> + <a
class="trait" href="https://doc.rust-lang. [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href
[...]
T: CastFrom<U>,</div></h4></section></summary><div
class='docblock'>Casts <code>self</code> to type <code>T</code>. The <a
href="https://doc.rust-lang.org/reference/expressions/operator-expr.html#semantics">semantics
of numeric casting</a> with the <code>as</code> operator are followed, so
<code><T as As>::as_::<U></code> can be used in the same way as
<code>T as U</code> for numeric conversions. <a>Read
more</a></div></details></div></details><details class="toggle [...]
T: <a class="trait"
href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait
core::any::Any">Any</a>,</div></h3></section></summary><div
class="impl-items"><section id="method.as_any" class="method trait-impl"><a
href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">as_any</a>(&self) -> &(dyn <a class="trait"
href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait
core::any::Any">Any</a> + 'static)</h4 [...]
diff --git a/api/iceberg_datafusion/fn.from_datafusion_error.html
b/api/iceberg_datafusion/fn.from_datafusion_error.html
index 273213418..b9409dcca 100644
--- a/api/iceberg_datafusion/fn.from_datafusion_error.html
+++ b/api/iceberg_datafusion/fn.from_datafusion_error.html
@@ -1,2 +1,2 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Converts a
datafusion error into an iceberg error."><title>from_datafusion_error in
iceberg_datafusion -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans
[...]
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Converts a
datafusion error into an iceberg error."><title>from_datafusion_error in
iceberg_datafusion -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans
[...]
</div></details></section></div></main></body></html>
\ No newline at end of file
diff --git a/api/iceberg_datafusion/fn.to_datafusion_error.html
b/api/iceberg_datafusion/fn.to_datafusion_error.html
index e4f9cd29e..8eabf1298 100644
--- a/api/iceberg_datafusion/fn.to_datafusion_error.html
+++ b/api/iceberg_datafusion/fn.to_datafusion_error.html
@@ -1,2 +1,2 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Converts
an iceberg error into a datafusion error."><title>to_datafusion_error in
iceberg_datafusion -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-R
[...]
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Converts
an iceberg error into a datafusion error."><title>to_datafusion_error in
iceberg_datafusion -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-R
[...]
</div></details></section></div></main></body></html>
\ No newline at end of file
diff --git a/api/iceberg_datafusion/index.html
b/api/iceberg_datafusion/index.html
index 48c77e62a..3a055aee1 100644
--- a/api/iceberg_datafusion/index.html
+++ b/api/iceberg_datafusion/index.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="API
documentation for the Rust `iceberg_datafusion`
crate."><title>iceberg_datafusion -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade
[...]
-within an Iceberg [<code>Catalog</code>].</dd></dl><h2 id="functions"
class="section-header">Functions<a href="#functions"
class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn"
href="fn.from_datafusion_error.html" title="fn
iceberg_datafusion::from_datafusion_error">from_<wbr>datafusion_<wbr>error</a></dt><dd>Converts
a datafusion error into an iceberg error.</dd><dt><a class="fn"
href="fn.to_datafusion_error.html" title="fn
iceberg_datafusion::to_datafusion_error">to_<wbr>da [...]
\ No newline at end of file
+within an Iceberg <a href="../iceberg/catalog/trait.Catalog.html" title="trait
iceberg::catalog::Catalog"><code>Catalog</code></a>.</dd></dl><h2
id="functions" class="section-header">Functions<a href="#functions"
class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn"
href="fn.from_datafusion_error.html" title="fn
iceberg_datafusion::from_datafusion_error">from_<wbr>datafusion_<wbr>error</a></dt><dd>Converts
a datafusion error into an iceberg error.</dd><dt><a class="fn" href=" [...]
\ No newline at end of file
diff --git
a/api/iceberg_datafusion/physical_plan/fn.convert_filters_to_predicate.html
b/api/iceberg_datafusion/physical_plan/fn.convert_filters_to_predicate.html
index 12b1c5742..cdcaefe6a 100644
--- a/api/iceberg_datafusion/physical_plan/fn.convert_filters_to_predicate.html
+++ b/api/iceberg_datafusion/physical_plan/fn.convert_filters_to_predicate.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Converts
DataFusion filters (`Expr`) to an iceberg `Predicate`. If none of the filters
could be converted, return `None` which adds no predicates to the scan
operation. If the conversion was successful, return the converted predicates
combined with an AND operator."><title>convert_filter [...]
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Converts
DataFusion filters (`Expr`) to an iceberg `Predicate`. If none of the filters
could be converted, return `None` which adds no predicates to the scan
operation. If the conversion was successful, return the converted predicates
combined with an AND operator."><title>convert_filter [...]
If none of the filters could be converted, return <code>None</code> which adds
no predicates to the scan operation.
If the conversion was successful, return the converted predicates combined
with an AND operator.</p>
</div></details></section></div></main></body></html>
\ No newline at end of file
diff --git
a/api/iceberg_datafusion/physical_plan/fn.project_with_partition.html
b/api/iceberg_datafusion/physical_plan/fn.project_with_partition.html
index a4627f4a0..5283818e2 100644
--- a/api/iceberg_datafusion/physical_plan/fn.project_with_partition.html
+++ b/api/iceberg_datafusion/physical_plan/fn.project_with_partition.html
@@ -1,6 +1,6 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Extends an
ExecutionPlan with partition value calculations for Iceberg
tables."><title>project_with_partition in iceberg_datafusion::physical_plan -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.w
[...]
input: <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"
title="struct alloc::sync::Arc">Arc</a><dyn ExecutionPlan>,
- table: &Table,
+ table: &<a class="struct" href="../../iceberg/table/struct.Table.html"
title="struct iceberg::table::Table">Table</a>,
) -> Result<<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"
title="struct alloc::sync::Arc">Arc</a><dyn
ExecutionPlan>></code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>Extends an ExecutionPlan with partition value calculations
for Iceberg tables.</p>
<p>This function takes an input ExecutionPlan and extends it with an
additional column
containing calculated partition values based on the table’s partition
specification.
diff --git a/api/iceberg_datafusion/physical_plan/index.html
b/api/iceberg_datafusion/physical_plan/index.html
index a87044954..9815fc7df 100644
--- a/api/iceberg_datafusion/physical_plan/index.html
+++ b/api/iceberg_datafusion/physical_plan/index.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="API
documentation for the Rust `physical_plan` mod in crate
`iceberg_datafusion`."><title>iceberg_datafusion::physical_plan -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81
[...]
-necessary details and computed properties required for execution
planning.</dd></dl><h2 id="functions" class="section-header">Functions<a
href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a
class="fn" href="fn.convert_filters_to_predicate.html" title="fn
iceberg_datafusion::physical_plan::convert_filters_to_predicate">convert_<wbr>filters_<wbr>to_<wbr>predicate</a></dt><dd>Converts
DataFusion filters ([<code>Expr</code>]) to an iceberg
[<code>Predicate</code>].
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="API
documentation for the Rust `physical_plan` mod in crate
`iceberg_datafusion`."><title>iceberg_datafusion::physical_plan -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81
[...]
+necessary details and computed properties required for execution
planning.</dd></dl><h2 id="functions" class="section-header">Functions<a
href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a
class="fn" href="fn.convert_filters_to_predicate.html" title="fn
iceberg_datafusion::physical_plan::convert_filters_to_predicate">convert_<wbr>filters_<wbr>to_<wbr>predicate</a></dt><dd>Converts
DataFusion filters ([<code>Expr</code>]) to an iceberg <a
href="../../iceberg/expr/pre [...]
If none of the filters could be converted, return <code>None</code> which adds
no predicates to the scan operation.
If the conversion was successful, return the converted predicates combined
with an AND operator.</dd><dt><a class="fn"
href="fn.project_with_partition.html" title="fn
iceberg_datafusion::physical_plan::project_with_partition">project_<wbr>with_<wbr>partition</a></dt><dd>Extends
an ExecutionPlan with partition value calculations for Iceberg
tables.</dd></dl></section></div></main></body></html>
\ No newline at end of file
diff --git a/api/iceberg_datafusion/physical_plan/struct.IcebergTableScan.html
b/api/iceberg_datafusion/physical_plan/struct.IcebergTableScan.html
index e6d7d6723..525575821 100644
--- a/api/iceberg_datafusion/physical_plan/struct.IcebergTableScan.html
+++ b/api/iceberg_datafusion/physical_plan/struct.IcebergTableScan.html
@@ -1,6 +1,6 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Manages
the scanning process of an Iceberg `Table`, encapsulating the necessary details
and computed properties required for execution
planning."><title>IcebergTableScan in iceberg_datafusion::physical_plan -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertA
[...]
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Manages
the scanning process of an Iceberg `Table`, encapsulating the necessary details
and computed properties required for execution
planning."><title>IcebergTableScan in iceberg_datafusion::physical_plan -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertA
[...]
necessary details and computed properties required for execution planning.</p>
-</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-IcebergTableScan"
class="impl"><a class="src rightside"
href="../../src/iceberg_datafusion/physical_plan/scan.rs.html#58-118">Source</a><a
href="#impl-IcebergTableScan" class="anchor">§</a><h3 class="code-header">impl
<a class="struct" href="struct.Icebe [...]
+</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-IcebergTableScan"
class="impl"><a class="src rightside"
href="../../src/iceberg_datafusion/physical_plan/scan.rs.html#58-118">Source</a><a
href="#impl-IcebergTableScan" class="anchor">§</a><h3 class="code-header">impl
<a class="struct" href="struct.Icebe [...]
different from the default one <a>Read
more</a></div></details></div></details><details class="toggle
implementors-toggle" open><summary><section
id="impl-ExecutionPlan-for-IcebergTableScan" class="impl"><a class="src
rightside"
href="../../src/iceberg_datafusion/physical_plan/scan.rs.html#120-182">Source</a><a
href="#impl-ExecutionPlan-for-IcebergTableScan" class="anchor">§</a><h3
class="code-header">impl ExecutionPlan for <a class="struct"
href="struct.IcebergTableScan.html" title="str [...]
downcast to a specific implementation.</div></details><details class="toggle
method-toggle" open><summary><section id="method.children" class="method
trait-impl"><a class="src rightside"
href="../../src/iceberg_datafusion/physical_plan/scan.rs.html#129-131">Source</a><a
href="#method.children" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">children</a>(&self) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html"
title="struct alloc:: [...]
The returned list will be empty for leaf nodes such as scans, will contain
diff --git a/api/iceberg_datafusion/struct.IcebergCatalogProvider.html
b/api/iceberg_datafusion/struct.IcebergCatalogProvider.html
index 5a808b160..33a06dc02 100644
--- a/api/iceberg_datafusion/struct.IcebergCatalogProvider.html
+++ b/api/iceberg_datafusion/struct.IcebergCatalogProvider.html
@@ -1,10 +1,10 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Provides
an interface to manage and access multiple schemas within an Iceberg
`Catalog`."><title>IcebergCatalogProvider in iceberg_datafusion -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,
[...]
-within an Iceberg [<code>Catalog</code>].</p>
+within an Iceberg <a href="../iceberg/catalog/trait.Catalog.html" title="trait
iceberg::catalog::Catalog"><code>Catalog</code></a>.</p>
<p>Acts as a centralized catalog provider that aggregates
multiple [<code>SchemaProvider</code>], each associated with distinct
namespaces.</p>
-</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-IcebergCatalogProvider"
class="impl"><a class="src rightside"
href="../src/iceberg_datafusion/catalog.rs.html#41-84">Source</a><a
href="#impl-IcebergCatalogProvider" class="anchor">§</a><h3
class="code-header">impl <a class="struct" href="struct.IcebergC [...]
+</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-IcebergCatalogProvider"
class="impl"><a class="src rightside"
href="../src/iceberg_datafusion/catalog.rs.html#41-84">Source</a><a
href="#impl-IcebergCatalogProvider" class="anchor">§</a><h3
class="code-header">impl <a class="struct" href="struct.IcebergC [...]
using the given client to fetch and initialize schema providers for
-each namespace in the Iceberg [<code>Catalog</code>].</p>
+each namespace in the Iceberg <a href="../iceberg/catalog/trait.Catalog.html"
title="trait iceberg::catalog::Catalog"><code>Catalog</code></a>.</p>
<p>This method retrieves the list of namespace names
attempts to create a schema provider for each namespace, and
collects these providers into a <code>HashMap</code>.</p>
diff --git
a/api/iceberg_datafusion/table/struct.IcebergStaticTableProvider.html
b/api/iceberg_datafusion/table/struct.IcebergStaticTableProvider.html
index 2491e7f1b..bff853868 100644
--- a/api/iceberg_datafusion/table/struct.IcebergStaticTableProvider.html
+++ b/api/iceberg_datafusion/table/struct.IcebergStaticTableProvider.html
@@ -4,12 +4,12 @@ write operations. Use this for consistent analytical queries,
time-travel scenar
or when you want to avoid catalog overhead.</p>
<p>For catalog-backed tables with write support and automatic refresh, use
<a href="struct.IcebergTableProvider.html" title="struct
iceberg_datafusion::table::IcebergTableProvider"><code>IcebergTableProvider</code></a>
instead.</p>
-</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section
id="impl-IcebergStaticTableProvider" class="impl"><a class="src rightside"
href="../../src/iceberg_datafusion/table/mod.rs.html#256-294">Source</a><a
href="#impl-IcebergStaticTableProvider" class="anchor">§</a><h3
class="code-header">impl <a class="struct" href=" [...]
+</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section
id="impl-IcebergStaticTableProvider" class="impl"><a class="src rightside"
href="../../src/iceberg_datafusion/table/mod.rs.html#256-294">Source</a><a
href="#impl-IcebergStaticTableProvider" class="anchor">§</a><h3
class="code-header">impl <a class="struct" href=" [...]
<p>Uses the table’s current snapshot for all queries. Does not support write
operations.</p>
</div></details><details class="toggle method-toggle" open><summary><section
id="method.try_new_from_table_snapshot" class="method"><a class="src rightside"
href="../../src/iceberg_datafusion/table/mod.rs.html#273-293">Source</a><h4
class="code-header">pub async fn <a href="#method.try_new_from_table_snapshot"
class="fn">try_new_from_table_snapshot</a>(
- table: Table,
+ table: <a class="struct" href="../../iceberg/table/struct.Table.html"
title="struct iceberg::table::Table">Table</a>,
snapshot_id: <a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>,
-) -> Result<Self></h4></section></summary><div
class="docblock"><p>Creates a static provider for a specific table snapshot.</p>
+) -> <a class="type" href="../../iceberg/error/type.Result.html"
title="type
iceberg::error::Result">Result</a><Self></h4></section></summary><div
class="docblock"><p>Creates a static provider for a specific table snapshot.</p>
<p>Queries the specified snapshot for all operations. Useful for time-travel
queries.
Does not support write operations.</p>
</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-Clone-for-IcebergStaticTableProvider" class="impl"><a class="src
rightside"
href="../../src/iceberg_datafusion/table/mod.rs.html#246">Source</a><a
href="#impl-Clone-for-IcebergStaticTableProvider" class="anch [...]
diff --git
a/api/iceberg_datafusion/table/table_provider_factory/struct.IcebergTableProviderFactory.html
b/api/iceberg_datafusion/table/table_provider_factory/struct.IcebergTableProviderFactory.html
index 4b6264c45..5e965ee70 100644
---
a/api/iceberg_datafusion/table/table_provider_factory/struct.IcebergTableProviderFactory.html
+++
b/api/iceberg_datafusion/table/table_provider_factory/struct.IcebergTableProviderFactory.html
@@ -57,7 +57,7 @@ the creation of new tables not yet available.</p>
<p>An error will be returned if any unsupported feature, such as partition
columns,
order expressions, constraints, or column defaults, is detected in the table
creation command.</p>
</div></details><h2 id="implementations"
class="section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section
id="impl-IcebergTableProviderFactory" class="impl"><a class="src rightside"
href="../../../src/iceberg_datafusion/table/table_provider_factory.rs.html#104-117">Source</a><a
href="#impl-IcebergTableProviderFactory" class="anchor">§</a><h3
class="code-header">impl [...]
- storage_factory: <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"
title="struct alloc::sync::Arc">Arc</a><dyn StorageFactory>,
+ storage_factory: <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"
title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait"
href="../../../iceberg/io/storage/trait.StorageFactory.html" title="trait
iceberg::io::storage::StorageFactory">StorageFactory</a>>,
) -> Self</h4></section></summary><div class="docblock"><p>Create a new
factory with a custom storage factory for creating FileIO instances.</p>
</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-Debug-for-IcebergTableProviderFactory" class="impl"><a class="src
rightside"
href="../../../src/iceberg_datafusion/table/table_provider_factory.rs.html#99">Source</a><a
href="#impl-Debug-for-IcebergTableProvi [...]
&'life0 self,
diff --git a/api/search.index/entry/a660dad77266.js
b/api/search.index/entry/caf8c9070ae1.js
similarity index 94%
rename from api/search.index/entry/a660dad77266.js
rename to api/search.index/entry/caf8c9070ae1.js
index 26623989f..3842f9d6a 100644
--- a/api/search.index/entry/a660dad77266.js
+++ b/api/search.index/entry/caf8c9070ae1.js
@@ -1 +1 @@
-rd_("Al[3697,17,3698,3620,6882,0,0]Al[3697,17,3545,3545,7778,0,0]Al[3697,17,6472,6472,7440,0,0]Al[3697,17,2180,3949,6731,0,0]Al[3697,17,2180,3949,7955,0,0]Al[3697,17,2470,3508,7531,0,0]0Al[3697,15,1426,1426,7449,0,0]Al[7934,15,7935,7935,7852,0,0]Al[3697,15,2470,2912,6885,0,0]2Al[3697,15,3698,2873,2969,0,0]Al[7814,15,2872,2872,2970,0,0]Al[3697,15,1426,4984,4686,0,0]Al[3697,15,1426,4984,6879,0,0]5Al[7934,15,7935,7935,6896,0,0]Al[3697,15,2180,6990,6712,0,0]Al[3697,15,2180,6868,7462,0,0]11Ao
[...]
\ No newline at end of file
+rd_("Al[3697,17,3698,3620,6882,0,0]Al[3697,17,3545,3545,7778,0,0]Al[3697,17,6472,6472,7440,0,0]Al[3697,17,2180,3949,6731,0,0]Al[3697,17,2180,3949,7955,0,0]Al[3697,17,2470,3508,7531,0,0]0Al[3697,15,1426,1426,7449,0,0]Al[7934,15,7935,7935,7852,0,0]Al[3697,15,2470,2912,6885,0,0]2Al[3697,15,3698,2873,2969,0,0]Al[7814,15,2872,2872,2970,0,0]Al[3697,15,1426,4984,4686,0,0]Al[3697,15,1426,4984,6879,0,0]5Al[7934,15,7935,7935,6896,0,0]Al[3697,15,2180,6990,6712,0,0]Al[3697,15,2180,6868,7462,0,0]11Ao
[...]
\ No newline at end of file
diff --git a/api/search.index/path/6124392e895b.js
b/api/search.index/path/07b126309c8d.js
similarity index 99%
rename from api/search.index/path/6124392e895b.js
rename to api/search.index/path/07b126309c8d.js
index de59f179e..4e7cfa0fe 100644
--- a/api/search.index/path/6124392e895b.js
+++ b/api/search.index/path/07b126309c8d.js
@@ -1 +1 @@
-rd_("g[17,\"\"]000f[1,\"\"]0Aa[10,\"bnum::cast\"]Eg[5,\"tower_http::follow_redirect::policy::or\",\"tower_http::follow_redirect::policy::or\"]Bn[15,\"iceberg_storage_opendal::OpenDalStorage\"]Ce[15,\"iceberg_storage_opendal::OpenDalStorageFactory\"]4m[2,\"iceberg\"]Ai[2,\"iceberg::encryption\"]Bb[2,\"iceberg::io::storage::config\"]Am[2,\"iceberg_storage_opendal\"]8Ei[5,\"tower_http::follow_redirect::policy::and\",\"tower_http::follow_redirect::policy::and\"]A`[10,\"core::any\"]Ao[5,\"all
[...]
\ No newline at end of file
+rd_("g[17,\"\"]000f[1,\"\"]0Aa[10,\"bnum::cast\"]Eg[5,\"tower_http::follow_redirect::policy::or\",\"tower_http::follow_redirect::policy::or\"]Bn[15,\"iceberg_storage_opendal::OpenDalStorage\"]Ce[15,\"iceberg_storage_opendal::OpenDalStorageFactory\"]4m[2,\"iceberg\"]Ai[2,\"iceberg::encryption\"]Bb[2,\"iceberg::io::storage::config\"]Am[2,\"iceberg_storage_opendal\"]8Ei[5,\"tower_http::follow_redirect::policy::and\",\"tower_http::follow_redirect::policy::and\"]A`[10,\"core::any\"]Ao[5,\"all
[...]
\ No newline at end of file
diff --git a/api/search.index/root.js b/api/search.index/root.js
index 1f419e210..93e7752d6 100644
--- a/api/search.index/root.js
+++ b/api/search.index/root.js
@@ -1 +1 @@
-rr_('{"normalizedName":{"I":"RQBAAAAEYBJlagGbBokL5Q0JDhUAQAAAIEkDJQSEBDSCBOcNFQBAAAAA5w02FhWrHzFAAAB8AUkDJQSEBAUBwAAAAm0aBWwcYWUxQAAAmwaJC+UNCQ5jAASgEAAADeewcB5/AHo1OGRt9h0AAABPAdwB3ABfAGMJVQJAAAAxmwaJC+UNCQ4AggQB5g0yNjkbABwAawGOD24daB8FAcAAAANfHQBbGmFzAQEBoGAAABnRZDswAAABAADYAAMAjgQAAKQEAACZCNYABQHDAAAXNx84HxKSHpMeZHM1AEIAAAW0GGN0CXUJdgmnCQQAQnRkAAAGZWZhdWx0LhpkpwRWCwDByKAAAAABfH9QhFWbYKBQAAAdv7AgD4YK1gAAAAEIThwAAPLVGAAArwAFAFIAAAa1H2SkHwUAVAAABrYfZKcf84MCcHQ1AEQAABatH64fZBUfFh+NH44fWwO
[...]
\ No newline at end of file
+rr_('{"normalizedName":{"I":"RQBAAAAEYBJlagGbBokL5Q0JDhUAQAAAIEkDJQSEBDSCBOcNFQBAAAAA5w02FhWrHzFAAAB8AUkDJQSEBAUBwAAAAm0aBWwcYWUxQAAAmwaJC+UNCQ5jAASgEAAADeewcB5/AHo1OGRt9h0AAABPAdwB3ABfAGMJVQJAAAAxmwaJC+UNCQ4AggQB5g0yNjkbABwAawGOD24daB8FAcAAAANfHQBbGmFzAQEBoGAAABnRZDswAAABAADYAAMAjgQAAKQEAACZCNYABQHDAAAXNx84HxKSHpMeZHM1AEIAAAW0GGN0CXUJdgmnCQQAQnRkAAAGZWZhdWx0LhpkpwRWCwDByKAAAAABfH9QhFWbYKBQAAAdv7AgD4YK1gAAAAEIThwAAPLVGAAArwAFAFIAAAa1H2SkHwUAVAAABrYfZKcf84MCcHQ1AEQAABatH64fZBUfFh+NH44fWwO
[...]
\ No newline at end of file
diff --git a/api/src/iceberg/arrow/reader/file_reader.rs.html
b/api/src/iceberg/arrow/reader/file_reader.rs.html
index 0669804df..f702a298f 100644
--- a/api/src/iceberg/arrow/reader/file_reader.rs.html
+++ b/api/src/iceberg/arrow/reader/file_reader.rs.html
@@ -106,264 +106,270 @@
<a href=#106 id=106 data-nosnippet>106</a> .boxed()
<a href=#107 id=107 data-nosnippet>107</a> }
<a href=#108 id=108 data-nosnippet>108</a>
-<a href=#109 id=109 data-nosnippet>109</a> <span class="comment">// TODO:
currently we don't respect `ArrowReaderOptions` cause it don't expose any
method to access the option field
-<a href=#110 id=110 data-nosnippet>110</a> // we will fix it after
`v55.1.0` is released in https://github.com/apache/arrow-rs/issues/7393
-<a href=#111 id=111 data-nosnippet>111</a> </span><span class="kw">fn
</span>get_metadata(
-<a href=#112 id=112 data-nosnippet>112</a> <span class="kw-2">&mut
</span><span class="self">self</span>,
-<a href=#113 id=113 data-nosnippet>113</a> _options: <span
class="prelude-ty">Option</span><<span class="kw-2">&</span><span
class="lifetime">'_ </span>ArrowReaderOptions>,
-<a href=#114 id=114 data-nosnippet>114</a> ) -> BoxFuture<<span
class="lifetime">'_</span>,
parquet::errors::Result<Arc<ParquetMetaData>>> {
-<a href=#115 id=115 data-nosnippet>115</a> <span class="kw">async move
</span>{
-<a href=#116 id=116 data-nosnippet>116</a> <span class="kw">let
</span>reader = ParquetMetaDataReader::new()
-<a href=#117 id=117 data-nosnippet>117</a>
.with_prefetch_hint(<span
class="self">self</span>.parquet_read_options.metadata_size_hint())
-<a href=#118 id=118 data-nosnippet>118</a> <span
class="comment">// Set the page policy first because it updates both column and
offset policies.
-<a href=#119 id=119 data-nosnippet>119</a>
</span>.with_page_index_policy(PageIndexPolicy::from(
-<a href=#120 id=120 data-nosnippet>120</a> <span
class="self">self</span>.parquet_read_options.preload_page_index(),
-<a href=#121 id=121 data-nosnippet>121</a> ))
-<a href=#122 id=122 data-nosnippet>122</a>
.with_column_index_policy(PageIndexPolicy::from(
-<a href=#123 id=123 data-nosnippet>123</a> <span
class="self">self</span>.parquet_read_options.preload_column_index(),
-<a href=#124 id=124 data-nosnippet>124</a> ))
-<a href=#125 id=125 data-nosnippet>125</a>
.with_offset_index_policy(PageIndexPolicy::from(
-<a href=#126 id=126 data-nosnippet>126</a> <span
class="self">self</span>.parquet_read_options.preload_offset_index(),
-<a href=#127 id=127 data-nosnippet>127</a> ));
-<a href=#128 id=128 data-nosnippet>128</a> <span class="kw">let
</span>size = <span class="self">self</span>.meta.size;
-<a href=#129 id=129 data-nosnippet>129</a> <span class="kw">let
</span>meta = reader.load_and_finish(<span class="self">self</span>,
size).<span class="kw">await</span><span class="question-mark">?</span>;
-<a href=#130 id=130 data-nosnippet>130</a>
-<a href=#131 id=131 data-nosnippet>131</a> <span
class="prelude-val">Ok</span>(Arc::new(meta))
-<a href=#132 id=132 data-nosnippet>132</a> }
-<a href=#133 id=133 data-nosnippet>133</a> .boxed()
-<a href=#134 id=134 data-nosnippet>134</a> }
-<a href=#135 id=135 data-nosnippet>135</a>}
+<a href=#109 id=109 data-nosnippet>109</a> <span class="kw">fn
</span>get_metadata(
+<a href=#110 id=110 data-nosnippet>110</a> <span class="kw-2">&mut
</span><span class="self">self</span>,
+<a href=#111 id=111 data-nosnippet>111</a> options: <span
class="prelude-ty">Option</span><<span class="kw-2">&</span><span
class="lifetime">'_ </span>ArrowReaderOptions>,
+<a href=#112 id=112 data-nosnippet>112</a> ) -> BoxFuture<<span
class="lifetime">'_</span>,
parquet::errors::Result<Arc<ParquetMetaData>>> {
+<a href=#113 id=113 data-nosnippet>113</a> <span class="kw">let
</span>decryption_properties = options
+<a href=#114 id=114 data-nosnippet>114</a> .and_then(|opts|
opts.file_decryption_properties())
+<a href=#115 id=115 data-nosnippet>115</a> .cloned();
+<a href=#116 id=116 data-nosnippet>116</a>
+<a href=#117 id=117 data-nosnippet>117</a> <span class="kw">let
</span>metadata_options = options.map(|opts| opts.metadata_options().clone());
+<a href=#118 id=118 data-nosnippet>118</a>
+<a href=#119 id=119 data-nosnippet>119</a> <span class="kw">async move
</span>{
+<a href=#120 id=120 data-nosnippet>120</a> <span class="kw">let
</span>reader = ParquetMetaDataReader::new()
+<a href=#121 id=121 data-nosnippet>121</a>
.with_prefetch_hint(<span
class="self">self</span>.parquet_read_options.metadata_size_hint())
+<a href=#122 id=122 data-nosnippet>122</a> <span
class="comment">// Set the page policy first because it updates both column and
offset policies.
+<a href=#123 id=123 data-nosnippet>123</a>
</span>.with_page_index_policy(PageIndexPolicy::from(
+<a href=#124 id=124 data-nosnippet>124</a> <span
class="self">self</span>.parquet_read_options.preload_page_index(),
+<a href=#125 id=125 data-nosnippet>125</a> ))
+<a href=#126 id=126 data-nosnippet>126</a>
.with_column_index_policy(PageIndexPolicy::from(
+<a href=#127 id=127 data-nosnippet>127</a> <span
class="self">self</span>.parquet_read_options.preload_column_index(),
+<a href=#128 id=128 data-nosnippet>128</a> ))
+<a href=#129 id=129 data-nosnippet>129</a>
.with_offset_index_policy(PageIndexPolicy::from(
+<a href=#130 id=130 data-nosnippet>130</a> <span
class="self">self</span>.parquet_read_options.preload_offset_index(),
+<a href=#131 id=131 data-nosnippet>131</a> ))
+<a href=#132 id=132 data-nosnippet>132</a>
.with_metadata_options(metadata_options)
+<a href=#133 id=133 data-nosnippet>133</a>
.with_decryption_properties(decryption_properties);
+<a href=#134 id=134 data-nosnippet>134</a> <span class="kw">let
</span>size = <span class="self">self</span>.meta.size;
+<a href=#135 id=135 data-nosnippet>135</a> <span class="kw">let
</span>meta = reader.load_and_finish(<span class="self">self</span>,
size).<span class="kw">await</span><span class="question-mark">?</span>;
<a href=#136 id=136 data-nosnippet>136</a>
-<a href=#137 id=137 data-nosnippet>137</a><span class="doccomment">/// Merge
overlapping or nearby byte ranges, combining ranges with gaps <= `coalesce`
bytes.
-<a href=#138 id=138 data-nosnippet>138</a>/// Adapted from object_store's
`merge_ranges` in `util.rs`.
-<a href=#139 id=139 data-nosnippet>139</a></span><span class="kw">fn
</span>merge_ranges(ranges: <span class="kw-2">&</span>[Range<u64>],
coalesce: u64) -> Vec<Range<u64>> {
-<a href=#140 id=140 data-nosnippet>140</a> <span class="kw">if
</span>ranges.is_empty() {
-<a href=#141 id=141 data-nosnippet>141</a> <span class="kw">return
</span><span class="macro">vec!</span>[];
-<a href=#142 id=142 data-nosnippet>142</a> }
-<a href=#143 id=143 data-nosnippet>143</a>
-<a href=#144 id=144 data-nosnippet>144</a> <span class="kw">let
</span><span class="kw-2">mut </span>ranges = ranges.to_vec();
-<a href=#145 id=145 data-nosnippet>145</a> ranges.sort_unstable_by_key(|r|
r.start);
-<a href=#146 id=146 data-nosnippet>146</a>
-<a href=#147 id=147 data-nosnippet>147</a> <span class="kw">let
</span><span class="kw-2">mut </span>merged = Vec::with_capacity(ranges.len());
-<a href=#148 id=148 data-nosnippet>148</a> <span class="kw">let
</span><span class="kw-2">mut </span>start_idx = <span class="number">0</span>;
-<a href=#149 id=149 data-nosnippet>149</a> <span class="kw">let
</span><span class="kw-2">mut </span>end_idx = <span class="number">1</span>;
-<a href=#150 id=150 data-nosnippet>150</a>
-<a href=#151 id=151 data-nosnippet>151</a> <span class="kw">while
</span><span class="macro">start_idx !</span>= ranges.len() {
-<a href=#152 id=152 data-nosnippet>152</a> <span class="kw">let
</span><span class="kw-2">mut </span>range_end = ranges[start_idx].end;
-<a href=#153 id=153 data-nosnippet>153</a>
-<a href=#154 id=154 data-nosnippet>154</a> <span class="kw">while
</span><span class="macro">end_idx !</span>= ranges.len()
-<a href=#155 id=155 data-nosnippet>155</a> &&
ranges[end_idx]
-<a href=#156 id=156 data-nosnippet>156</a> .start
-<a href=#157 id=157 data-nosnippet>157</a>
.checked_sub(range_end)
-<a href=#158 id=158 data-nosnippet>158</a> .map(|delta| delta
<= coalesce)
-<a href=#159 id=159 data-nosnippet>159</a> .unwrap_or(<span
class="bool-val">true</span>)
-<a href=#160 id=160 data-nosnippet>160</a> {
-<a href=#161 id=161 data-nosnippet>161</a> range_end =
range_end.max(ranges[end_idx].end);
-<a href=#162 id=162 data-nosnippet>162</a> end_idx += <span
class="number">1</span>;
-<a href=#163 id=163 data-nosnippet>163</a> }
-<a href=#164 id=164 data-nosnippet>164</a>
-<a href=#165 id=165 data-nosnippet>165</a>
merged.push(ranges[start_idx].start..range_end);
-<a href=#166 id=166 data-nosnippet>166</a> start_idx = end_idx;
-<a href=#167 id=167 data-nosnippet>167</a> end_idx += <span
class="number">1</span>;
-<a href=#168 id=168 data-nosnippet>168</a> }
-<a href=#169 id=169 data-nosnippet>169</a>
-<a href=#170 id=170 data-nosnippet>170</a> merged
-<a href=#171 id=171 data-nosnippet>171</a>}
-<a href=#172 id=172 data-nosnippet>172</a>
-<a href=#173 id=173 data-nosnippet>173</a><span class="attr">#[cfg(test)]
-<a href=#174 id=174 data-nosnippet>174</a></span><span class="kw">mod
</span>tests {
-<a href=#175 id=175 data-nosnippet>175</a> <span class="kw">use
</span>std::ops::Range;
-<a href=#176 id=176 data-nosnippet>176</a>
-<a href=#177 id=177 data-nosnippet>177</a> <span class="kw">use
</span>parquet::arrow::async_reader::AsyncFileReader;
+<a href=#137 id=137 data-nosnippet>137</a> <span
class="prelude-val">Ok</span>(Arc::new(meta))
+<a href=#138 id=138 data-nosnippet>138</a> }
+<a href=#139 id=139 data-nosnippet>139</a> .boxed()
+<a href=#140 id=140 data-nosnippet>140</a> }
+<a href=#141 id=141 data-nosnippet>141</a>}
+<a href=#142 id=142 data-nosnippet>142</a>
+<a href=#143 id=143 data-nosnippet>143</a><span class="doccomment">/// Merge
overlapping or nearby byte ranges, combining ranges with gaps <= `coalesce`
bytes.
+<a href=#144 id=144 data-nosnippet>144</a>/// Adapted from object_store's
`merge_ranges` in `util.rs`.
+<a href=#145 id=145 data-nosnippet>145</a></span><span class="kw">fn
</span>merge_ranges(ranges: <span class="kw-2">&</span>[Range<u64>],
coalesce: u64) -> Vec<Range<u64>> {
+<a href=#146 id=146 data-nosnippet>146</a> <span class="kw">if
</span>ranges.is_empty() {
+<a href=#147 id=147 data-nosnippet>147</a> <span class="kw">return
</span><span class="macro">vec!</span>[];
+<a href=#148 id=148 data-nosnippet>148</a> }
+<a href=#149 id=149 data-nosnippet>149</a>
+<a href=#150 id=150 data-nosnippet>150</a> <span class="kw">let
</span><span class="kw-2">mut </span>ranges = ranges.to_vec();
+<a href=#151 id=151 data-nosnippet>151</a> ranges.sort_unstable_by_key(|r|
r.start);
+<a href=#152 id=152 data-nosnippet>152</a>
+<a href=#153 id=153 data-nosnippet>153</a> <span class="kw">let
</span><span class="kw-2">mut </span>merged = Vec::with_capacity(ranges.len());
+<a href=#154 id=154 data-nosnippet>154</a> <span class="kw">let
</span><span class="kw-2">mut </span>start_idx = <span class="number">0</span>;
+<a href=#155 id=155 data-nosnippet>155</a> <span class="kw">let
</span><span class="kw-2">mut </span>end_idx = <span class="number">1</span>;
+<a href=#156 id=156 data-nosnippet>156</a>
+<a href=#157 id=157 data-nosnippet>157</a> <span class="kw">while
</span><span class="macro">start_idx !</span>= ranges.len() {
+<a href=#158 id=158 data-nosnippet>158</a> <span class="kw">let
</span><span class="kw-2">mut </span>range_end = ranges[start_idx].end;
+<a href=#159 id=159 data-nosnippet>159</a>
+<a href=#160 id=160 data-nosnippet>160</a> <span class="kw">while
</span><span class="macro">end_idx !</span>= ranges.len()
+<a href=#161 id=161 data-nosnippet>161</a> &&
ranges[end_idx]
+<a href=#162 id=162 data-nosnippet>162</a> .start
+<a href=#163 id=163 data-nosnippet>163</a>
.checked_sub(range_end)
+<a href=#164 id=164 data-nosnippet>164</a> .map(|delta| delta
<= coalesce)
+<a href=#165 id=165 data-nosnippet>165</a> .unwrap_or(<span
class="bool-val">true</span>)
+<a href=#166 id=166 data-nosnippet>166</a> {
+<a href=#167 id=167 data-nosnippet>167</a> range_end =
range_end.max(ranges[end_idx].end);
+<a href=#168 id=168 data-nosnippet>168</a> end_idx += <span
class="number">1</span>;
+<a href=#169 id=169 data-nosnippet>169</a> }
+<a href=#170 id=170 data-nosnippet>170</a>
+<a href=#171 id=171 data-nosnippet>171</a>
merged.push(ranges[start_idx].start..range_end);
+<a href=#172 id=172 data-nosnippet>172</a> start_idx = end_idx;
+<a href=#173 id=173 data-nosnippet>173</a> end_idx += <span
class="number">1</span>;
+<a href=#174 id=174 data-nosnippet>174</a> }
+<a href=#175 id=175 data-nosnippet>175</a>
+<a href=#176 id=176 data-nosnippet>176</a> merged
+<a href=#177 id=177 data-nosnippet>177</a>}
<a href=#178 id=178 data-nosnippet>178</a>
-<a href=#179 id=179 data-nosnippet>179</a> <span class="kw">use
super</span>::{ArrowFileReader, ParquetReadOptions, merge_ranges};
-<a href=#180 id=180 data-nosnippet>180</a> <span class="kw">use
</span><span class="kw">crate</span>::io::{FileMetadata, FileRead};
-<a href=#181 id=181 data-nosnippet>181</a>
-<a href=#182 id=182 data-nosnippet>182</a> <span class="attr">#[test]
-<a href=#183 id=183 data-nosnippet>183</a> </span><span class="kw">fn
</span>test_merge_ranges_empty() {
-<a href=#184 id=184 data-nosnippet>184</a> <span
class="macro">assert_eq!</span>(merge_ranges(<span class="kw-2">&</span>[],
<span class="number">1024</span>), Vec::<Range<u64>>::new());
-<a href=#185 id=185 data-nosnippet>185</a> }
-<a href=#186 id=186 data-nosnippet>186</a>
-<a href=#187 id=187 data-nosnippet>187</a> <span class="attr">#[test]
-<a href=#188 id=188 data-nosnippet>188</a> </span><span class="kw">fn
</span>test_merge_ranges_no_coalesce() {
-<a href=#189 id=189 data-nosnippet>189</a> <span class="comment">//
Ranges far apart should not be merged
-<a href=#190 id=190 data-nosnippet>190</a> </span><span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">100</span>, <span
class="number">1_000_000</span>..<span class="number">1_000_100</span>];
-<a href=#191 id=191 data-nosnippet>191</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">1024</span>);
-<a href=#192 id=192 data-nosnippet>192</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">100</span>, <span
class="number">1_000_000</span>..<span class="number">1_000_100</span>]);
-<a href=#193 id=193 data-nosnippet>193</a> }
-<a href=#194 id=194 data-nosnippet>194</a>
-<a href=#195 id=195 data-nosnippet>195</a> <span class="attr">#[test]
-<a href=#196 id=196 data-nosnippet>196</a> </span><span class="kw">fn
</span>test_merge_ranges_coalesce() {
-<a href=#197 id=197 data-nosnippet>197</a> <span class="comment">//
Ranges within the gap threshold should be merged
-<a href=#198 id=198 data-nosnippet>198</a> </span><span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">100</span>, <span
class="number">200</span>..<span class="number">300</span>, <span
class="number">500</span>..<span class="number">600</span>];
-<a href=#199 id=199 data-nosnippet>199</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">1024</span>);
-<a href=#200 id=200 data-nosnippet>200</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">600</span>]);
-<a href=#201 id=201 data-nosnippet>201</a> }
-<a href=#202 id=202 data-nosnippet>202</a>
-<a href=#203 id=203 data-nosnippet>203</a> <span class="attr">#[test]
-<a href=#204 id=204 data-nosnippet>204</a> </span><span class="kw">fn
</span>test_merge_ranges_overlapping() {
-<a href=#205 id=205 data-nosnippet>205</a> <span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">200</span>, <span
class="number">100</span>..<span class="number">300</span>];
-<a href=#206 id=206 data-nosnippet>206</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">0</span>);
-<a href=#207 id=207 data-nosnippet>207</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">300</span>]);
-<a href=#208 id=208 data-nosnippet>208</a> }
-<a href=#209 id=209 data-nosnippet>209</a>
-<a href=#210 id=210 data-nosnippet>210</a> <span class="attr">#[test]
-<a href=#211 id=211 data-nosnippet>211</a> </span><span class="kw">fn
</span>test_merge_ranges_unsorted() {
-<a href=#212 id=212 data-nosnippet>212</a> <span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">500</span>..<span class="number">600</span>, <span
class="number">0</span>..<span class="number">100</span>, <span
class="number">200</span>..<span class="number">300</span>];
-<a href=#213 id=213 data-nosnippet>213</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">1024</span>);
-<a href=#214 id=214 data-nosnippet>214</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">600</span>]);
-<a href=#215 id=215 data-nosnippet>215</a> }
-<a href=#216 id=216 data-nosnippet>216</a>
-<a href=#217 id=217 data-nosnippet>217</a> <span class="doccomment">///
Mock FileRead backed by a flat byte buffer.
-<a href=#218 id=218 data-nosnippet>218</a> </span><span class="kw">struct
</span>MockFileRead {
-<a href=#219 id=219 data-nosnippet>219</a> data: bytes::Bytes,
-<a href=#220 id=220 data-nosnippet>220</a> }
-<a href=#221 id=221 data-nosnippet>221</a>
-<a href=#222 id=222 data-nosnippet>222</a> <span class="kw">impl
</span>MockFileRead {
-<a href=#223 id=223 data-nosnippet>223</a> <span class="kw">fn
</span>new(size: usize) -> <span class="self">Self </span>{
-<a href=#224 id=224 data-nosnippet>224</a> <span class="comment">//
Fill with sequential byte values so slices are verifiable.
-<a href=#225 id=225 data-nosnippet>225</a> </span><span
class="kw">let </span>data: Vec<u8> = (<span
class="number">0</span>..size).map(|i| (i % <span class="number">256</span>)
<span class="kw">as </span>u8).collect();
-<a href=#226 id=226 data-nosnippet>226</a> <span class="self">Self
</span>{
-<a href=#227 id=227 data-nosnippet>227</a> data:
bytes::Bytes::from(data),
-<a href=#228 id=228 data-nosnippet>228</a> }
-<a href=#229 id=229 data-nosnippet>229</a> }
-<a href=#230 id=230 data-nosnippet>230</a> }
-<a href=#231 id=231 data-nosnippet>231</a>
-<a href=#232 id=232 data-nosnippet>232</a> <span
class="attr">#[async_trait::async_trait]
-<a href=#233 id=233 data-nosnippet>233</a> </span><span class="kw">impl
</span>FileRead <span class="kw">for </span>MockFileRead {
-<a href=#234 id=234 data-nosnippet>234</a> <span class="kw">async fn
</span>read(<span class="kw-2">&</span><span class="self">self</span>,
range: Range<u64>) -> <span
class="kw">crate</span>::Result<bytes::Bytes> {
-<a href=#235 id=235 data-nosnippet>235</a> <span
class="prelude-val">Ok</span>(<span
class="self">self</span>.data.slice(range.start <span class="kw">as
</span>usize..range.end <span class="kw">as </span>usize))
-<a href=#236 id=236 data-nosnippet>236</a> }
-<a href=#237 id=237 data-nosnippet>237</a> }
-<a href=#238 id=238 data-nosnippet>238</a>
-<a href=#239 id=239 data-nosnippet>239</a> <span class="attr">#[tokio::test]
-<a href=#240 id=240 data-nosnippet>240</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_no_coalesce() {
-<a href=#241 id=241 data-nosnippet>241</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">2048</span>);
-<a href=#242 id=242 data-nosnippet>242</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
-<a href=#243 id=243 data-nosnippet>243</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">1500</span>..<span
class="number">1600</span>);
+<a href=#179 id=179 data-nosnippet>179</a><span class="attr">#[cfg(test)]
+<a href=#180 id=180 data-nosnippet>180</a></span><span class="kw">mod
</span>tests {
+<a href=#181 id=181 data-nosnippet>181</a> <span class="kw">use
</span>std::ops::Range;
+<a href=#182 id=182 data-nosnippet>182</a>
+<a href=#183 id=183 data-nosnippet>183</a> <span class="kw">use
</span>parquet::arrow::async_reader::AsyncFileReader;
+<a href=#184 id=184 data-nosnippet>184</a>
+<a href=#185 id=185 data-nosnippet>185</a> <span class="kw">use
super</span>::{ArrowFileReader, ParquetReadOptions, merge_ranges};
+<a href=#186 id=186 data-nosnippet>186</a> <span class="kw">use
</span><span class="kw">crate</span>::io::{FileMetadata, FileRead};
+<a href=#187 id=187 data-nosnippet>187</a>
+<a href=#188 id=188 data-nosnippet>188</a> <span class="attr">#[test]
+<a href=#189 id=189 data-nosnippet>189</a> </span><span class="kw">fn
</span>test_merge_ranges_empty() {
+<a href=#190 id=190 data-nosnippet>190</a> <span
class="macro">assert_eq!</span>(merge_ranges(<span class="kw-2">&</span>[],
<span class="number">1024</span>), Vec::<Range<u64>>::new());
+<a href=#191 id=191 data-nosnippet>191</a> }
+<a href=#192 id=192 data-nosnippet>192</a>
+<a href=#193 id=193 data-nosnippet>193</a> <span class="attr">#[test]
+<a href=#194 id=194 data-nosnippet>194</a> </span><span class="kw">fn
</span>test_merge_ranges_no_coalesce() {
+<a href=#195 id=195 data-nosnippet>195</a> <span class="comment">//
Ranges far apart should not be merged
+<a href=#196 id=196 data-nosnippet>196</a> </span><span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">100</span>, <span
class="number">1_000_000</span>..<span class="number">1_000_100</span>];
+<a href=#197 id=197 data-nosnippet>197</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">1024</span>);
+<a href=#198 id=198 data-nosnippet>198</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">100</span>, <span
class="number">1_000_000</span>..<span class="number">1_000_100</span>]);
+<a href=#199 id=199 data-nosnippet>199</a> }
+<a href=#200 id=200 data-nosnippet>200</a>
+<a href=#201 id=201 data-nosnippet>201</a> <span class="attr">#[test]
+<a href=#202 id=202 data-nosnippet>202</a> </span><span class="kw">fn
</span>test_merge_ranges_coalesce() {
+<a href=#203 id=203 data-nosnippet>203</a> <span class="comment">//
Ranges within the gap threshold should be merged
+<a href=#204 id=204 data-nosnippet>204</a> </span><span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">100</span>, <span
class="number">200</span>..<span class="number">300</span>, <span
class="number">500</span>..<span class="number">600</span>];
+<a href=#205 id=205 data-nosnippet>205</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">1024</span>);
+<a href=#206 id=206 data-nosnippet>206</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">600</span>]);
+<a href=#207 id=207 data-nosnippet>207</a> }
+<a href=#208 id=208 data-nosnippet>208</a>
+<a href=#209 id=209 data-nosnippet>209</a> <span class="attr">#[test]
+<a href=#210 id=210 data-nosnippet>210</a> </span><span class="kw">fn
</span>test_merge_ranges_overlapping() {
+<a href=#211 id=211 data-nosnippet>211</a> <span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">200</span>, <span
class="number">100</span>..<span class="number">300</span>];
+<a href=#212 id=212 data-nosnippet>212</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">0</span>);
+<a href=#213 id=213 data-nosnippet>213</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">300</span>]);
+<a href=#214 id=214 data-nosnippet>214</a> }
+<a href=#215 id=215 data-nosnippet>215</a>
+<a href=#216 id=216 data-nosnippet>216</a> <span class="attr">#[test]
+<a href=#217 id=217 data-nosnippet>217</a> </span><span class="kw">fn
</span>test_merge_ranges_unsorted() {
+<a href=#218 id=218 data-nosnippet>218</a> <span class="kw">let
</span>ranges = <span class="macro">vec!</span>[<span
class="number">500</span>..<span class="number">600</span>, <span
class="number">0</span>..<span class="number">100</span>, <span
class="number">200</span>..<span class="number">300</span>];
+<a href=#219 id=219 data-nosnippet>219</a> <span class="kw">let
</span>merged = merge_ranges(<span class="kw-2">&</span>ranges, <span
class="number">1024</span>);
+<a href=#220 id=220 data-nosnippet>220</a> <span
class="macro">assert_eq!</span>(merged, <span class="macro">vec!</span>[<span
class="number">0</span>..<span class="number">600</span>]);
+<a href=#221 id=221 data-nosnippet>221</a> }
+<a href=#222 id=222 data-nosnippet>222</a>
+<a href=#223 id=223 data-nosnippet>223</a> <span class="doccomment">///
Mock FileRead backed by a flat byte buffer.
+<a href=#224 id=224 data-nosnippet>224</a> </span><span class="kw">struct
</span>MockFileRead {
+<a href=#225 id=225 data-nosnippet>225</a> data: bytes::Bytes,
+<a href=#226 id=226 data-nosnippet>226</a> }
+<a href=#227 id=227 data-nosnippet>227</a>
+<a href=#228 id=228 data-nosnippet>228</a> <span class="kw">impl
</span>MockFileRead {
+<a href=#229 id=229 data-nosnippet>229</a> <span class="kw">fn
</span>new(size: usize) -> <span class="self">Self </span>{
+<a href=#230 id=230 data-nosnippet>230</a> <span class="comment">//
Fill with sequential byte values so slices are verifiable.
+<a href=#231 id=231 data-nosnippet>231</a> </span><span
class="kw">let </span>data: Vec<u8> = (<span
class="number">0</span>..size).map(|i| (i % <span class="number">256</span>)
<span class="kw">as </span>u8).collect();
+<a href=#232 id=232 data-nosnippet>232</a> <span class="self">Self
</span>{
+<a href=#233 id=233 data-nosnippet>233</a> data:
bytes::Bytes::from(data),
+<a href=#234 id=234 data-nosnippet>234</a> }
+<a href=#235 id=235 data-nosnippet>235</a> }
+<a href=#236 id=236 data-nosnippet>236</a> }
+<a href=#237 id=237 data-nosnippet>237</a>
+<a href=#238 id=238 data-nosnippet>238</a> <span
class="attr">#[async_trait::async_trait]
+<a href=#239 id=239 data-nosnippet>239</a> </span><span class="kw">impl
</span>FileRead <span class="kw">for </span>MockFileRead {
+<a href=#240 id=240 data-nosnippet>240</a> <span class="kw">async fn
</span>read(<span class="kw-2">&</span><span class="self">self</span>,
range: Range<u64>) -> <span
class="kw">crate</span>::Result<bytes::Bytes> {
+<a href=#241 id=241 data-nosnippet>241</a> <span
class="prelude-val">Ok</span>(<span
class="self">self</span>.data.slice(range.start <span class="kw">as
</span>usize..range.end <span class="kw">as </span>usize))
+<a href=#242 id=242 data-nosnippet>242</a> }
+<a href=#243 id=243 data-nosnippet>243</a> }
<a href=#244 id=244 data-nosnippet>244</a>
-<a href=#245 id=245 data-nosnippet>245</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">2048 </span>}, Box::new(mock))
-<a href=#246 id=246 data-nosnippet>246</a>
.with_parquet_read_options(
-<a href=#247 id=247 data-nosnippet>247</a>
ParquetReadOptions::builder()
-<a href=#248 id=248 data-nosnippet>248</a>
.with_range_coalesce_bytes(<span class="number">0</span>)
-<a href=#249 id=249 data-nosnippet>249</a> .build(),
-<a href=#250 id=250 data-nosnippet>250</a> );
-<a href=#251 id=251 data-nosnippet>251</a>
-<a href=#252 id=252 data-nosnippet>252</a> <span class="kw">let
</span>result = reader
-<a href=#253 id=253 data-nosnippet>253</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">1500</span>..<span
class="number">1600</span>])
-<a href=#254 id=254 data-nosnippet>254</a> .<span class="kw">await
-<a href=#255 id=255 data-nosnippet>255</a> </span>.unwrap();
-<a href=#256 id=256 data-nosnippet>256</a>
-<a href=#257 id=257 data-nosnippet>257</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">2</span>);
-<a href=#258 id=258 data-nosnippet>258</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
-<a href=#259 id=259 data-nosnippet>259</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
-<a href=#260 id=260 data-nosnippet>260</a> }
-<a href=#261 id=261 data-nosnippet>261</a>
-<a href=#262 id=262 data-nosnippet>262</a> <span class="attr">#[tokio::test]
-<a href=#263 id=263 data-nosnippet>263</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_with_coalesce() {
-<a href=#264 id=264 data-nosnippet>264</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">1024</span>);
-<a href=#265 id=265 data-nosnippet>265</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
-<a href=#266 id=266 data-nosnippet>266</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">200</span>..<span
class="number">300</span>);
-<a href=#267 id=267 data-nosnippet>267</a> <span class="kw">let
</span>expected_2 = mock.data.slice(<span class="number">500</span>..<span
class="number">600</span>);
-<a href=#268 id=268 data-nosnippet>268</a>
-<a href=#269 id=269 data-nosnippet>269</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">1024 </span>}, Box::new(mock))
-<a href=#270 id=270 data-nosnippet>270</a>
.with_parquet_read_options(
-<a href=#271 id=271 data-nosnippet>271</a>
ParquetReadOptions::builder()
-<a href=#272 id=272 data-nosnippet>272</a>
.with_range_coalesce_bytes(<span class="number">1024</span>)
-<a href=#273 id=273 data-nosnippet>273</a> .build(),
-<a href=#274 id=274 data-nosnippet>274</a> );
-<a href=#275 id=275 data-nosnippet>275</a>
-<a href=#276 id=276 data-nosnippet>276</a> <span class="comment">// All
ranges within coalesce threshold — should merge into one fetch.
-<a href=#277 id=277 data-nosnippet>277</a> </span><span class="kw">let
</span>result = reader
-<a href=#278 id=278 data-nosnippet>278</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">200</span>..<span
class="number">300</span>, <span class="number">500</span>..<span
class="number">600</span>])
-<a href=#279 id=279 data-nosnippet>279</a> .<span class="kw">await
-<a href=#280 id=280 data-nosnippet>280</a> </span>.unwrap();
+<a href=#245 id=245 data-nosnippet>245</a> <span class="attr">#[tokio::test]
+<a href=#246 id=246 data-nosnippet>246</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_no_coalesce() {
+<a href=#247 id=247 data-nosnippet>247</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">2048</span>);
+<a href=#248 id=248 data-nosnippet>248</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
+<a href=#249 id=249 data-nosnippet>249</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">1500</span>..<span
class="number">1600</span>);
+<a href=#250 id=250 data-nosnippet>250</a>
+<a href=#251 id=251 data-nosnippet>251</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">2048 </span>}, Box::new(mock))
+<a href=#252 id=252 data-nosnippet>252</a>
.with_parquet_read_options(
+<a href=#253 id=253 data-nosnippet>253</a>
ParquetReadOptions::builder()
+<a href=#254 id=254 data-nosnippet>254</a>
.with_range_coalesce_bytes(<span class="number">0</span>)
+<a href=#255 id=255 data-nosnippet>255</a> .build(),
+<a href=#256 id=256 data-nosnippet>256</a> );
+<a href=#257 id=257 data-nosnippet>257</a>
+<a href=#258 id=258 data-nosnippet>258</a> <span class="kw">let
</span>result = reader
+<a href=#259 id=259 data-nosnippet>259</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">1500</span>..<span
class="number">1600</span>])
+<a href=#260 id=260 data-nosnippet>260</a> .<span class="kw">await
+<a href=#261 id=261 data-nosnippet>261</a> </span>.unwrap();
+<a href=#262 id=262 data-nosnippet>262</a>
+<a href=#263 id=263 data-nosnippet>263</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">2</span>);
+<a href=#264 id=264 data-nosnippet>264</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
+<a href=#265 id=265 data-nosnippet>265</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
+<a href=#266 id=266 data-nosnippet>266</a> }
+<a href=#267 id=267 data-nosnippet>267</a>
+<a href=#268 id=268 data-nosnippet>268</a> <span class="attr">#[tokio::test]
+<a href=#269 id=269 data-nosnippet>269</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_with_coalesce() {
+<a href=#270 id=270 data-nosnippet>270</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">1024</span>);
+<a href=#271 id=271 data-nosnippet>271</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
+<a href=#272 id=272 data-nosnippet>272</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">200</span>..<span
class="number">300</span>);
+<a href=#273 id=273 data-nosnippet>273</a> <span class="kw">let
</span>expected_2 = mock.data.slice(<span class="number">500</span>..<span
class="number">600</span>);
+<a href=#274 id=274 data-nosnippet>274</a>
+<a href=#275 id=275 data-nosnippet>275</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">1024 </span>}, Box::new(mock))
+<a href=#276 id=276 data-nosnippet>276</a>
.with_parquet_read_options(
+<a href=#277 id=277 data-nosnippet>277</a>
ParquetReadOptions::builder()
+<a href=#278 id=278 data-nosnippet>278</a>
.with_range_coalesce_bytes(<span class="number">1024</span>)
+<a href=#279 id=279 data-nosnippet>279</a> .build(),
+<a href=#280 id=280 data-nosnippet>280</a> );
<a href=#281 id=281 data-nosnippet>281</a>
-<a href=#282 id=282 data-nosnippet>282</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">3</span>);
-<a href=#283 id=283 data-nosnippet>283</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
-<a href=#284 id=284 data-nosnippet>284</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
-<a href=#285 id=285 data-nosnippet>285</a> <span
class="macro">assert_eq!</span>(result[<span class="number">2</span>],
expected_2);
-<a href=#286 id=286 data-nosnippet>286</a> }
+<a href=#282 id=282 data-nosnippet>282</a> <span class="comment">// All
ranges within coalesce threshold — should merge into one fetch.
+<a href=#283 id=283 data-nosnippet>283</a> </span><span class="kw">let
</span>result = reader
+<a href=#284 id=284 data-nosnippet>284</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">200</span>..<span
class="number">300</span>, <span class="number">500</span>..<span
class="number">600</span>])
+<a href=#285 id=285 data-nosnippet>285</a> .<span class="kw">await
+<a href=#286 id=286 data-nosnippet>286</a> </span>.unwrap();
<a href=#287 id=287 data-nosnippet>287</a>
-<a href=#288 id=288 data-nosnippet>288</a> <span class="attr">#[tokio::test]
-<a href=#289 id=289 data-nosnippet>289</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_empty() {
-<a href=#290 id=290 data-nosnippet>290</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">1024</span>);
-<a href=#291 id=291 data-nosnippet>291</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">1024 </span>}, Box::new(mock));
-<a href=#292 id=292 data-nosnippet>292</a>
-<a href=#293 id=293 data-nosnippet>293</a> <span class="kw">let
</span>result = reader.get_byte_ranges(<span class="macro">vec!</span>[]).<span
class="kw">await</span>.unwrap();
-<a href=#294 id=294 data-nosnippet>294</a> <span
class="macro">assert!</span>(result.is_empty());
-<a href=#295 id=295 data-nosnippet>295</a> }
-<a href=#296 id=296 data-nosnippet>296</a>
-<a href=#297 id=297 data-nosnippet>297</a> <span class="attr">#[tokio::test]
-<a href=#298 id=298 data-nosnippet>298</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_coalesce_max() {
-<a href=#299 id=299 data-nosnippet>299</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">2048</span>);
-<a href=#300 id=300 data-nosnippet>300</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
-<a href=#301 id=301 data-nosnippet>301</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">1500</span>..<span
class="number">1600</span>);
+<a href=#288 id=288 data-nosnippet>288</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">3</span>);
+<a href=#289 id=289 data-nosnippet>289</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
+<a href=#290 id=290 data-nosnippet>290</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
+<a href=#291 id=291 data-nosnippet>291</a> <span
class="macro">assert_eq!</span>(result[<span class="number">2</span>],
expected_2);
+<a href=#292 id=292 data-nosnippet>292</a> }
+<a href=#293 id=293 data-nosnippet>293</a>
+<a href=#294 id=294 data-nosnippet>294</a> <span class="attr">#[tokio::test]
+<a href=#295 id=295 data-nosnippet>295</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_empty() {
+<a href=#296 id=296 data-nosnippet>296</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">1024</span>);
+<a href=#297 id=297 data-nosnippet>297</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">1024 </span>}, Box::new(mock));
+<a href=#298 id=298 data-nosnippet>298</a>
+<a href=#299 id=299 data-nosnippet>299</a> <span class="kw">let
</span>result = reader.get_byte_ranges(<span class="macro">vec!</span>[]).<span
class="kw">await</span>.unwrap();
+<a href=#300 id=300 data-nosnippet>300</a> <span
class="macro">assert!</span>(result.is_empty());
+<a href=#301 id=301 data-nosnippet>301</a> }
<a href=#302 id=302 data-nosnippet>302</a>
-<a href=#303 id=303 data-nosnippet>303</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">2048 </span>}, Box::new(mock))
-<a href=#304 id=304 data-nosnippet>304</a>
.with_parquet_read_options(
-<a href=#305 id=305 data-nosnippet>305</a>
ParquetReadOptions::builder()
-<a href=#306 id=306 data-nosnippet>306</a>
.with_range_coalesce_bytes(u64::MAX)
-<a href=#307 id=307 data-nosnippet>307</a> .build(),
-<a href=#308 id=308 data-nosnippet>308</a> );
-<a href=#309 id=309 data-nosnippet>309</a>
-<a href=#310 id=310 data-nosnippet>310</a> <span class="comment">//
u64::MAX coalesce — all ranges merge into a single fetch.
-<a href=#311 id=311 data-nosnippet>311</a> </span><span class="kw">let
</span>result = reader
-<a href=#312 id=312 data-nosnippet>312</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">1500</span>..<span
class="number">1600</span>])
-<a href=#313 id=313 data-nosnippet>313</a> .<span class="kw">await
-<a href=#314 id=314 data-nosnippet>314</a> </span>.unwrap();
+<a href=#303 id=303 data-nosnippet>303</a> <span class="attr">#[tokio::test]
+<a href=#304 id=304 data-nosnippet>304</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_coalesce_max() {
+<a href=#305 id=305 data-nosnippet>305</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">2048</span>);
+<a href=#306 id=306 data-nosnippet>306</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
+<a href=#307 id=307 data-nosnippet>307</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">1500</span>..<span
class="number">1600</span>);
+<a href=#308 id=308 data-nosnippet>308</a>
+<a href=#309 id=309 data-nosnippet>309</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">2048 </span>}, Box::new(mock))
+<a href=#310 id=310 data-nosnippet>310</a>
.with_parquet_read_options(
+<a href=#311 id=311 data-nosnippet>311</a>
ParquetReadOptions::builder()
+<a href=#312 id=312 data-nosnippet>312</a>
.with_range_coalesce_bytes(u64::MAX)
+<a href=#313 id=313 data-nosnippet>313</a> .build(),
+<a href=#314 id=314 data-nosnippet>314</a> );
<a href=#315 id=315 data-nosnippet>315</a>
-<a href=#316 id=316 data-nosnippet>316</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">2</span>);
-<a href=#317 id=317 data-nosnippet>317</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
-<a href=#318 id=318 data-nosnippet>318</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
-<a href=#319 id=319 data-nosnippet>319</a> }
-<a href=#320 id=320 data-nosnippet>320</a>
-<a href=#321 id=321 data-nosnippet>321</a> <span class="attr">#[tokio::test]
-<a href=#322 id=322 data-nosnippet>322</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_concurrency_zero() {
-<a href=#323 id=323 data-nosnippet>323</a> <span class="comment">//
concurrency=0 is clamped to 1, so this should not hang.
-<a href=#324 id=324 data-nosnippet>324</a> </span><span class="kw">let
</span>mock = MockFileRead::new(<span class="number">1024</span>);
-<a href=#325 id=325 data-nosnippet>325</a> <span class="kw">let
</span>expected = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
+<a href=#316 id=316 data-nosnippet>316</a> <span class="comment">//
u64::MAX coalesce — all ranges merge into a single fetch.
+<a href=#317 id=317 data-nosnippet>317</a> </span><span class="kw">let
</span>result = reader
+<a href=#318 id=318 data-nosnippet>318</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">1500</span>..<span
class="number">1600</span>])
+<a href=#319 id=319 data-nosnippet>319</a> .<span class="kw">await
+<a href=#320 id=320 data-nosnippet>320</a> </span>.unwrap();
+<a href=#321 id=321 data-nosnippet>321</a>
+<a href=#322 id=322 data-nosnippet>322</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">2</span>);
+<a href=#323 id=323 data-nosnippet>323</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
+<a href=#324 id=324 data-nosnippet>324</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
+<a href=#325 id=325 data-nosnippet>325</a> }
<a href=#326 id=326 data-nosnippet>326</a>
-<a href=#327 id=327 data-nosnippet>327</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">1024 </span>}, Box::new(mock))
-<a href=#328 id=328 data-nosnippet>328</a>
.with_parquet_read_options(
-<a href=#329 id=329 data-nosnippet>329</a>
ParquetReadOptions::builder()
-<a href=#330 id=330 data-nosnippet>330</a>
.with_range_fetch_concurrency(<span class="number">0</span>)
-<a href=#331 id=331 data-nosnippet>331</a> .build(),
-<a href=#332 id=332 data-nosnippet>332</a> );
-<a href=#333 id=333 data-nosnippet>333</a>
-<a href=#334 id=334 data-nosnippet>334</a> <span class="kw">let
</span>result = reader
-<a href=#335 id=335 data-nosnippet>335</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">200</span>..<span
class="number">300</span>])
-<a href=#336 id=336 data-nosnippet>336</a> .<span class="kw">await
-<a href=#337 id=337 data-nosnippet>337</a> </span>.unwrap();
-<a href=#338 id=338 data-nosnippet>338</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">2</span>);
-<a href=#339 id=339 data-nosnippet>339</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected);
-<a href=#340 id=340 data-nosnippet>340</a> }
-<a href=#341 id=341 data-nosnippet>341</a>
-<a href=#342 id=342 data-nosnippet>342</a> <span class="attr">#[tokio::test]
-<a href=#343 id=343 data-nosnippet>343</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_concurrency_one() {
-<a href=#344 id=344 data-nosnippet>344</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">2048</span>);
-<a href=#345 id=345 data-nosnippet>345</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
-<a href=#346 id=346 data-nosnippet>346</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">500</span>..<span
class="number">600</span>);
-<a href=#347 id=347 data-nosnippet>347</a> <span class="kw">let
</span>expected_2 = mock.data.slice(<span class="number">1500</span>..<span
class="number">1600</span>);
-<a href=#348 id=348 data-nosnippet>348</a>
-<a href=#349 id=349 data-nosnippet>349</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">2048 </span>}, Box::new(mock))
-<a href=#350 id=350 data-nosnippet>350</a>
.with_parquet_read_options(
-<a href=#351 id=351 data-nosnippet>351</a>
ParquetReadOptions::builder()
-<a href=#352 id=352 data-nosnippet>352</a>
.with_range_coalesce_bytes(<span class="number">0</span>)
-<a href=#353 id=353 data-nosnippet>353</a>
.with_range_fetch_concurrency(<span class="number">1</span>)
-<a href=#354 id=354 data-nosnippet>354</a> .build(),
-<a href=#355 id=355 data-nosnippet>355</a> );
-<a href=#356 id=356 data-nosnippet>356</a>
-<a href=#357 id=357 data-nosnippet>357</a> <span class="comment">//
concurrency=1 with no coalescing — sequential fetches.
-<a href=#358 id=358 data-nosnippet>358</a> </span><span class="kw">let
</span>result = reader
-<a href=#359 id=359 data-nosnippet>359</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">500</span>..<span
class="number">600</span>, <span class="number">1500</span>..<span
class="number">1600</span>])
-<a href=#360 id=360 data-nosnippet>360</a> .<span class="kw">await
-<a href=#361 id=361 data-nosnippet>361</a> </span>.unwrap();
+<a href=#327 id=327 data-nosnippet>327</a> <span class="attr">#[tokio::test]
+<a href=#328 id=328 data-nosnippet>328</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_concurrency_zero() {
+<a href=#329 id=329 data-nosnippet>329</a> <span class="comment">//
concurrency=0 is clamped to 1, so this should not hang.
+<a href=#330 id=330 data-nosnippet>330</a> </span><span class="kw">let
</span>mock = MockFileRead::new(<span class="number">1024</span>);
+<a href=#331 id=331 data-nosnippet>331</a> <span class="kw">let
</span>expected = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
+<a href=#332 id=332 data-nosnippet>332</a>
+<a href=#333 id=333 data-nosnippet>333</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">1024 </span>}, Box::new(mock))
+<a href=#334 id=334 data-nosnippet>334</a>
.with_parquet_read_options(
+<a href=#335 id=335 data-nosnippet>335</a>
ParquetReadOptions::builder()
+<a href=#336 id=336 data-nosnippet>336</a>
.with_range_fetch_concurrency(<span class="number">0</span>)
+<a href=#337 id=337 data-nosnippet>337</a> .build(),
+<a href=#338 id=338 data-nosnippet>338</a> );
+<a href=#339 id=339 data-nosnippet>339</a>
+<a href=#340 id=340 data-nosnippet>340</a> <span class="kw">let
</span>result = reader
+<a href=#341 id=341 data-nosnippet>341</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">200</span>..<span
class="number">300</span>])
+<a href=#342 id=342 data-nosnippet>342</a> .<span class="kw">await
+<a href=#343 id=343 data-nosnippet>343</a> </span>.unwrap();
+<a href=#344 id=344 data-nosnippet>344</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">2</span>);
+<a href=#345 id=345 data-nosnippet>345</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected);
+<a href=#346 id=346 data-nosnippet>346</a> }
+<a href=#347 id=347 data-nosnippet>347</a>
+<a href=#348 id=348 data-nosnippet>348</a> <span class="attr">#[tokio::test]
+<a href=#349 id=349 data-nosnippet>349</a> </span><span class="kw">async fn
</span>test_get_byte_ranges_concurrency_one() {
+<a href=#350 id=350 data-nosnippet>350</a> <span class="kw">let
</span>mock = MockFileRead::new(<span class="number">2048</span>);
+<a href=#351 id=351 data-nosnippet>351</a> <span class="kw">let
</span>expected_0 = mock.data.slice(<span class="number">0</span>..<span
class="number">100</span>);
+<a href=#352 id=352 data-nosnippet>352</a> <span class="kw">let
</span>expected_1 = mock.data.slice(<span class="number">500</span>..<span
class="number">600</span>);
+<a href=#353 id=353 data-nosnippet>353</a> <span class="kw">let
</span>expected_2 = mock.data.slice(<span class="number">1500</span>..<span
class="number">1600</span>);
+<a href=#354 id=354 data-nosnippet>354</a>
+<a href=#355 id=355 data-nosnippet>355</a> <span class="kw">let
</span><span class="kw-2">mut </span>reader = ArrowFileReader::new(FileMetadata
{ size: <span class="number">2048 </span>}, Box::new(mock))
+<a href=#356 id=356 data-nosnippet>356</a>
.with_parquet_read_options(
+<a href=#357 id=357 data-nosnippet>357</a>
ParquetReadOptions::builder()
+<a href=#358 id=358 data-nosnippet>358</a>
.with_range_coalesce_bytes(<span class="number">0</span>)
+<a href=#359 id=359 data-nosnippet>359</a>
.with_range_fetch_concurrency(<span class="number">1</span>)
+<a href=#360 id=360 data-nosnippet>360</a> .build(),
+<a href=#361 id=361 data-nosnippet>361</a> );
<a href=#362 id=362 data-nosnippet>362</a>
-<a href=#363 id=363 data-nosnippet>363</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">3</span>);
-<a href=#364 id=364 data-nosnippet>364</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
-<a href=#365 id=365 data-nosnippet>365</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
-<a href=#366 id=366 data-nosnippet>366</a> <span
class="macro">assert_eq!</span>(result[<span class="number">2</span>],
expected_2);
-<a href=#367 id=367 data-nosnippet>367</a> }
-<a href=#368 id=368 data-nosnippet>368</a>}
+<a href=#363 id=363 data-nosnippet>363</a> <span class="comment">//
concurrency=1 with no coalescing — sequential fetches.
+<a href=#364 id=364 data-nosnippet>364</a> </span><span class="kw">let
</span>result = reader
+<a href=#365 id=365 data-nosnippet>365</a> .get_byte_ranges(<span
class="macro">vec!</span>[<span class="number">0</span>..<span
class="number">100</span>, <span class="number">500</span>..<span
class="number">600</span>, <span class="number">1500</span>..<span
class="number">1600</span>])
+<a href=#366 id=366 data-nosnippet>366</a> .<span class="kw">await
+<a href=#367 id=367 data-nosnippet>367</a> </span>.unwrap();
+<a href=#368 id=368 data-nosnippet>368</a>
+<a href=#369 id=369 data-nosnippet>369</a> <span
class="macro">assert_eq!</span>(result.len(), <span class="number">3</span>);
+<a href=#370 id=370 data-nosnippet>370</a> <span
class="macro">assert_eq!</span>(result[<span class="number">0</span>],
expected_0);
+<a href=#371 id=371 data-nosnippet>371</a> <span
class="macro">assert_eq!</span>(result[<span class="number">1</span>],
expected_1);
+<a href=#372 id=372 data-nosnippet>372</a> <span
class="macro">assert_eq!</span>(result[<span class="number">2</span>],
expected_2);
+<a href=#373 id=373 data-nosnippet>373</a> }
+<a href=#374 id=374 data-nosnippet>374</a>}
</code></pre></div></section></main></body></html>
\ No newline at end of file
diff --git a/api/trait.impl/iceberg/catalog/trait.Catalog.js
b/api/trait.impl/iceberg/catalog/trait.Catalog.js
index 3490a4b0f..6a5715595 100644
--- a/api/trait.impl/iceberg/catalog/trait.Catalog.js
+++ b/api/trait.impl/iceberg/catalog/trait.Catalog.js
@@ -1,9 +1,9 @@
(function() {
- var implementors =
Object.fromEntries([["iceberg",[]],["iceberg_catalog_glue",[["impl Catalog for
<a class=\"struct\" href=\"iceberg_catalog_glue/struct.GlueCatalog.html\"
title=\"struct
iceberg_catalog_glue::GlueCatalog\">GlueCatalog</a>"]]],["iceberg_catalog_hms",[["impl
Catalog for <a class=\"struct\"
href=\"iceberg_catalog_hms/struct.HmsCatalog.html\" title=\"struct
iceberg_catalog_hms::HmsCatalog\">HmsCatalog</a>"]]],["iceberg_catalog_rest",[["impl
Catalog for <a class=\"struct\ [...]
+ var implementors =
Object.fromEntries([["iceberg",[]],["iceberg_catalog_glue",[["impl <a
class=\"trait\" href=\"iceberg/catalog/trait.Catalog.html\" title=\"trait
iceberg::catalog::Catalog\">Catalog</a> for <a class=\"struct\"
href=\"iceberg_catalog_glue/struct.GlueCatalog.html\" title=\"struct
iceberg_catalog_glue::GlueCatalog\">GlueCatalog</a>"]]],["iceberg_catalog_hms",[["impl
Catalog for <a class=\"struct\"
href=\"iceberg_catalog_hms/struct.HmsCatalog.html\" title=\"struct iceber [...]
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[14,189,183,189,213,183]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[14,298,183,189,213,183]}
\ No newline at end of file
diff --git a/api/trait.impl/iceberg/catalog/trait.CatalogBuilder.js
b/api/trait.impl/iceberg/catalog/trait.CatalogBuilder.js
index 2f59fc529..a53aa68a0 100644
--- a/api/trait.impl/iceberg/catalog/trait.CatalogBuilder.js
+++ b/api/trait.impl/iceberg/catalog/trait.CatalogBuilder.js
@@ -1,9 +1,9 @@
(function() {
- var implementors =
Object.fromEntries([["iceberg",[]],["iceberg_catalog_glue",[["impl
CatalogBuilder for <a class=\"struct\"
href=\"iceberg_catalog_glue/struct.GlueCatalogBuilder.html\" title=\"struct
iceberg_catalog_glue::GlueCatalogBuilder\">GlueCatalogBuilder</a>"]]],["iceberg_catalog_hms",[["impl
CatalogBuilder for <a class=\"struct\"
href=\"iceberg_catalog_hms/struct.HmsCatalogBuilder.html\" title=\"struct
iceberg_catalog_hms::HmsCatalogBuilder\">HmsCatalogBuilder</a>"]]],["iceb [...]
+ var implementors =
Object.fromEntries([["iceberg",[]],["iceberg_catalog_glue",[["impl <a
class=\"trait\" href=\"iceberg/catalog/trait.CatalogBuilder.html\"
title=\"trait iceberg::catalog::CatalogBuilder\">CatalogBuilder</a> for <a
class=\"struct\" href=\"iceberg_catalog_glue/struct.GlueCatalogBuilder.html\"
title=\"struct
iceberg_catalog_glue::GlueCatalogBuilder\">GlueCatalogBuilder</a>"]]],["iceberg_catalog_hms",[["impl
CatalogBuilder for <a class=\"struct\" href=\"iceberg_catalog_h [...]
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[14,217,211,217,241,211]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[14,340,211,217,241,211]}
\ No newline at end of file