This is an automated email from the ASF dual-hosted git repository.
github-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 dfe0786 deploy: 443490939f5259fad428dde0545b35e5fe7e72aa
dfe0786 is described below
commit dfe07860d6c834548008fc38204322d6d0fe5fcf
Author: Xuanwo <[email protected]>
AuthorDate: Wed Aug 14 14:12:55 2024 +0000
deploy: 443490939f5259fad428dde0545b35e5fe7e72aa
---
api/iceberg_datafusion/struct.IcebergCatalogProvider.html | 10 +++++-----
api/search-index.js | 2 +-
api/src/iceberg_datafusion/catalog.rs.html | 4 +---
api/src/iceberg_datafusion/physical_plan/scan.rs.html | 8 ++++++++
api/src/iceberg_datafusion/schema.rs.html | 2 +-
api/src/iceberg_datafusion/table.rs.html | 4 ++--
.../catalog/trait.CatalogProvider.js | 0
7 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/api/iceberg_datafusion/struct.IcebergCatalogProvider.html
b/api/iceberg_datafusion/struct.IcebergCatalogProvider.html
index 434f42a..cac8a20 100644
--- a/api/iceberg_datafusion/struct.IcebergCatalogProvider.html
+++ b/api/iceberg_datafusion/struct.IcebergCatalogProvider.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="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-46f98efaafac5295.tt
[...]
+<!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-46f98efaafac5295.tt
[...]
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#40-83">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 <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>
-</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-CatalogProvider-for-IcebergCatalogProvider" class="impl"><a class="src
rightside" href="../src/iceberg_datafusion/catalog.rs.html#86-98">source</a><a
href="#impl-CatalogProvider-for-IcebergCatalogProvider" cl [...]
-so that it can be downcast to a specific
implementation.</div></details><details class="toggle method-toggle"
open><summary><section id="method.schema_names" class="method trait-impl"><a
class="src rightside"
href="../src/iceberg_datafusion/catalog.rs.html#91-93">source</a><a
href="#method.schema_names" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">schema_names</a>(&self) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title=" [...]
+</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-CatalogProvider-for-IcebergCatalogProvider" class="impl"><a class="src
rightside" href="../src/iceberg_datafusion/catalog.rs.html#85-97">source</a><a
href="#impl-CatalogProvider-for-IcebergCatalogProvider" cl [...]
+so that it can be downcast to a specific
implementation.</div></details><details class="toggle method-toggle"
open><summary><section id="method.schema_names" class="method trait-impl"><a
class="src rightside"
href="../src/iceberg_datafusion/catalog.rs.html#90-92">source</a><a
href="#method.schema_names" class="anchor">§</a><h4 class="code-header">fn <a
class="fn">schema_names</a>(&self) -> <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title=" [...]
&self,
name: &<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
schema: <a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"
title="struct alloc::sync::Arc">Arc</a><dyn SchemaProvider>,
@@ -19,7 +19,7 @@ so that it can be downcast to a specific
implementation.</div></details><details
_cascade: <a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
) -> <a class="enum"
href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"
title="enum core::result::Result">Result</a><<a class="enum"
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><<a class="struct"
href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"
title="struct alloc::sync::Arc">Arc</a><dyn SchemaProvider>>,
DataFusionError></h4></section></summary><div class='doc [...]
errors if the schema exists but cannot be dropped. For example, in DataFusion’s
-default in-memory catalog, [<code>MemoryCatalogProvider</code>], a non-empty
schema
+default in-memory catalog, <code>MemoryCatalogProvider</code>, a non-empty
schema
will only be successfully dropped when <code>cascade</code> is true.
This is equivalent to how DROP SCHEMA works in PostgreSQL. <a>Read
more</a></div></details></div></details></div><h2
id="synthetic-implementations" class="section-header">Auto Trait
Implementations<a href="#synthetic-implementations"
class="anchor">§</a></h2><div id="synthetic-implementations-list"><section
id="impl-Freeze-for-IcebergCatalogProvider" class="impl"><a
href="#impl-Freeze-for-IcebergCatalogProvider" class="anchor">§</a><h3
class="code-header">impl <a class="trait" href="http [...]
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#141">source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href
[...]
diff --git a/api/search-index.js b/api/search-index.js
index 45e0ef8..89937d7 100644
--- a/api/search-index.js
+++ b/api/search-index.js
@@ -5,7 +5,7 @@ var searchIndex = new Map(JSON.parse('[\
["iceberg_catalog_memory",{"t":"FNNNNNNNNNNNNNNNNNNNNNNN","n":["MemoryCatalog","borrow","borrow_mut","create_namespace","create_table","drop_namespace","drop_table","fmt","from","get_namespace","into","list_namespaces","list_tables","load_table","namespace_exists","new","rename_table","table_exists","try_from","try_into","type_id","update_namespace","update_table","vzip"],"q":[[0,"iceberg_catalog_memory"],[24,"iceberg_catalog_memory::catalog"],[25,"iceberg::catalog"],[26,"alloc::string"]
[...]
["iceberg_catalog_rest",{"t":"FFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["RestCatalog","RestCatalogConfig","borrow","borrow","borrow_mut","borrow_mut","builder","clone","clone_into","create_namespace","create_table","drop_namespace","drop_table","fmt","fmt","from","from","get_namespace","into","into","list_namespaces","list_tables","load_table","namespace_exists","new","rename_table","table_exists","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","update_names
[...]
["iceberg_catalog_sql",{"t":"PPGFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["DollarNumeric","QMark","SqlBindStyle","SqlCatalog","SqlCatalogConfig","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","builder","create_namespace","create_table","drop_namespace","drop_table","eq","execute_statement","fmt","fmt","fmt","from","from","from","get_namespace","into","into","into","list_namespaces","list_tables","load_table","namespace_exists","new","rename_table","table_exi
[...]
-["iceberg_datafusion",{"t":"FNNNNHNNNHNNNNN","n":["IcebergCatalogProvider","as_any","borrow","borrow_mut","from","from_datafusion_error","into","schema","schema_names","to_datafusion_error","try_from","try_into","try_new","type_id","vzip"],"q":[[0,"iceberg_datafusion"],[15,"iceberg_datafusion::catalog"],[16,"core::any"],[17,"datafusion_common::error"],[18,"iceberg::error"],[19,"datafusion::catalog::schema"],[20,"alloc::sync"],[21,"core::option"],[22,"alloc::string"],[23,"alloc::vec"],[24
[...]
+["iceberg_datafusion",{"t":"FNNNNHNNNHNNNNN","n":["IcebergCatalogProvider","as_any","borrow","borrow_mut","from","from_datafusion_error","into","schema","schema_names","to_datafusion_error","try_from","try_into","try_new","type_id","vzip"],"q":[[0,"iceberg_datafusion"],[15,"iceberg_datafusion::catalog"],[16,"core::any"],[17,"datafusion_common::error"],[18,"iceberg::error"],[19,"datafusion_catalog::schema"],[20,"alloc::sync"],[21,"core::option"],[22,"alloc::string"],[23,"alloc::vec"],[24,
[...]
["iceberg_test_utils",{"t":"CHHFNNNNNNNNNNNNN","n":["docker","normalize_test_name","set_up","DockerCompose","borrow","borrow_mut","drop","fmt","from","get_container_ip","into","new","project_name","run","try_from","try_into","type_id"],"q":[[0,"iceberg_test_utils"],[3,"iceberg_test_utils::docker"],[17,"alloc::string"],[18,"core::fmt"],[19,"core::net::ip_addr"],[20,"core::convert"],[21,"core::result"],[22,"core::any"],[23,"iceberg_test_utils::common"]],"i":[0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6
[...]
]'));
if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
diff --git a/api/src/iceberg_datafusion/catalog.rs.html
b/api/src/iceberg_datafusion/catalog.rs.html
index 57bf51f..636aca1 100644
--- a/api/src/iceberg_datafusion/catalog.rs.html
+++ b/api/src/iceberg_datafusion/catalog.rs.html
@@ -95,7 +95,6 @@
<a href="#95" id="95">95</a>
<a href="#96" id="96">96</a>
<a href="#97" id="97">97</a>
-<a href="#98" id="98">98</a>
</pre></div><pre class="rust"><code><span class="comment">// Licensed to the
Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
@@ -117,8 +116,7 @@
<span class="kw">use </span>std::collections::HashMap;
<span class="kw">use </span>std::sync::Arc;
-<span class="kw">use </span>datafusion::catalog::schema::SchemaProvider;
-<span class="kw">use </span>datafusion::catalog::CatalogProvider;
+<span class="kw">use </span>datafusion::catalog::{CatalogProvider,
SchemaProvider};
<span class="kw">use </span>futures::future::try_join_all;
<span class="kw">use </span>iceberg::{Catalog, NamespaceIdent, <span
class="prelude-ty">Result</span>};
diff --git a/api/src/iceberg_datafusion/physical_plan/scan.rs.html
b/api/src/iceberg_datafusion/physical_plan/scan.rs.html
index e410722..5fc2ebf 100644
--- a/api/src/iceberg_datafusion/physical_plan/scan.rs.html
+++ b/api/src/iceberg_datafusion/physical_plan/scan.rs.html
@@ -134,6 +134,10 @@
<a href="#134" id="134">134</a>
<a href="#135" id="135">135</a>
<a href="#136" id="136">136</a>
+<a href="#137" id="137">137</a>
+<a href="#138" id="138">138</a>
+<a href="#139" id="139">139</a>
+<a href="#140" id="140">140</a>
</pre></div><pre class="rust"><code><span class="comment">// Licensed to the
Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
@@ -208,6 +212,10 @@
}
<span class="kw">impl </span>ExecutionPlan <span class="kw">for
</span>IcebergTableScan {
+ <span class="kw">fn </span>name(<span class="kw-2">&</span><span
class="self">self</span>) -> <span class="kw-2">&</span>str {
+ <span class="string">"IcebergTableScan"
+ </span>}
+
<span class="kw">fn </span>as_any(<span class="kw-2">&</span><span
class="self">self</span>) -> <span class="kw-2">&</span><span
class="kw">dyn </span>Any {
<span class="self">self
</span>}
diff --git a/api/src/iceberg_datafusion/schema.rs.html
b/api/src/iceberg_datafusion/schema.rs.html
index eb14806..f8c0018 100644
--- a/api/src/iceberg_datafusion/schema.rs.html
+++ b/api/src/iceberg_datafusion/schema.rs.html
@@ -121,7 +121,7 @@
<span class="kw">use </span>std::sync::Arc;
<span class="kw">use </span>async_trait::async_trait;
-<span class="kw">use </span>datafusion::catalog::schema::SchemaProvider;
+<span class="kw">use </span>datafusion::catalog::SchemaProvider;
<span class="kw">use </span>datafusion::datasource::TableProvider;
<span class="kw">use </span>datafusion::error::Result <span class="kw">as
</span>DFResult;
<span class="kw">use </span>futures::future::try_join_all;
diff --git a/api/src/iceberg_datafusion/table.rs.html
b/api/src/iceberg_datafusion/table.rs.html
index df88af9..f117453 100644
--- a/api/src/iceberg_datafusion/table.rs.html
+++ b/api/src/iceberg_datafusion/table.rs.html
@@ -107,9 +107,9 @@
<span class="kw">use </span>async_trait::async_trait;
<span class="kw">use </span>datafusion::arrow::datatypes::SchemaRef <span
class="kw">as </span>ArrowSchemaRef;
+<span class="kw">use </span>datafusion::catalog::Session;
<span class="kw">use </span>datafusion::datasource::{TableProvider, TableType};
<span class="kw">use </span>datafusion::error::Result <span class="kw">as
</span>DFResult;
-<span class="kw">use </span>datafusion::execution::context;
<span class="kw">use </span>datafusion::logical_expr::Expr;
<span class="kw">use </span>datafusion::physical_plan::ExecutionPlan;
<span class="kw">use </span>iceberg::arrow::schema_to_arrow_schema;
@@ -161,7 +161,7 @@
<span class="kw">async fn </span>scan(
<span class="kw-2">&</span><span class="self">self</span>,
- _state: <span class="kw-2">&</span>context::SessionState,
+ _state: <span class="kw-2">&</span><span class="kw">dyn
</span>Session,
_projection: <span class="prelude-ty">Option</span><<span
class="kw-2">&</span>Vec<usize>>,
_filters: <span class="kw-2">&</span>[Expr],
_limit: <span class="prelude-ty">Option</span><usize>,
diff --git a/api/trait.impl/datafusion/catalog/trait.CatalogProvider.js
b/api/trait.impl/datafusion_catalog/catalog/trait.CatalogProvider.js
similarity index 100%
rename from api/trait.impl/datafusion/catalog/trait.CatalogProvider.js
rename to api/trait.impl/datafusion_catalog/catalog/trait.CatalogProvider.js