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 51013b35 deploy: 95ccf92a1d9af5f424f632efb567af5371763306
51013b35 is described below
commit 51013b35733485cb358114aa999e7801d9d915a9
Author: liurenjie1024 <[email protected]>
AuthorDate: Sun Apr 27 13:39:16 2025 +0000
deploy: 95ccf92a1d9af5f424f632efb567af5371763306
---
api/help.html | 2 +-
api/iceberg/enum.ErrorKind.html | 14 +++++++--
api/iceberg/macro.ensure_data_valid.html | 2 +-
api/iceberg/struct.Error.html | 14 ++++-----
api/search-index.js | 4 +--
api/search.desc/iceberg/iceberg-desc-0-.js | 2 +-
api/settings.html | 2 +-
api/src/iceberg/error.rs.html | 36 +++++++++++++++++++++-
api/src/iceberg_catalog_glue/catalog.rs.html | 4 +--
api/src/iceberg_catalog_memory/catalog.rs.html | 32 +++++++++----------
.../iceberg_catalog_memory/namespace_state.rs.html | 8 ++---
11 files changed, 81 insertions(+), 39 deletions(-)
diff --git a/api/help.html b/api/help.html
index 7a3da648..cc5a8c40 100644
--- a/api/help.html
+++ b/api/help.html
@@ -1 +1 @@
-<!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="Documentation for
Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,Source
[...]
\ No newline at end of file
+<!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="Documentation for
Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,Source
[...]
\ No newline at end of file
diff --git a/api/iceberg/enum.ErrorKind.html b/api/iceberg/enum.ErrorKind.html
index da8e1211..0072f3be 100644
--- a/api/iceberg/enum.ErrorKind.html
+++ b/api/iceberg/enum.ErrorKind.html
@@ -1,6 +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="ErrorKind
is all kinds of Error of iceberg."><title>ErrorKind in iceberg -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,Source
[...]
+<!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="ErrorKind
is all kinds of Error of iceberg."><title>ErrorKind in iceberg -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,Source
[...]
Unexpected,
DataInvalid,
+ NamespaceAlreadyExists,
+ TableAlreadyExists,
+ NamespaceNotFound,
+ TableNotFound,
FeatureUnsupported,
}</code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>ErrorKind is all kinds of Error of iceberg.</p>
</div></details><h2 id="variants" class="variants section-header">Variants
(Non-exhaustive)<a href="#variants" class="anchor">§</a></h2><details
class="toggle non-exhaustive"><summary class="hideme"><span>This enum is marked
as non-exhaustive</span></summary><div class="docblock">Non-exhaustive enums
could have additional variants added in future. Therefore, when matching
against variants of non-exhaustive enums, an extra wildcard arm must be added
to account for any future variants.</di [...]
@@ -10,10 +14,14 @@ service error.</p>
<p>This error is returned when we try to read a table from iceberg but
failed to parse it’s metadata or data file correctly.</p>
<p>The table could be invalid or corrupted.</p>
+</div><section id="variant.NamespaceAlreadyExists" class="variant"><a
href="#variant.NamespaceAlreadyExists" class="anchor">§</a><h3
class="code-header">NamespaceAlreadyExists</h3></section><div
class="docblock"><p>Iceberg namespace already exists at creation.</p>
+</div><section id="variant.TableAlreadyExists" class="variant"><a
href="#variant.TableAlreadyExists" class="anchor">§</a><h3
class="code-header">TableAlreadyExists</h3></section><div
class="docblock"><p>Iceberg table already exists at creation.</p>
+</div><section id="variant.NamespaceNotFound" class="variant"><a
href="#variant.NamespaceNotFound" class="anchor">§</a><h3
class="code-header">NamespaceNotFound</h3></section><div
class="docblock"><p>Iceberg namespace already exists at creation.</p>
+</div><section id="variant.TableNotFound" class="variant"><a
href="#variant.TableNotFound" class="anchor">§</a><h3
class="code-header">TableNotFound</h3></section><div
class="docblock"><p>Iceberg table already exists at creation.</p>
</div><section id="variant.FeatureUnsupported" class="variant"><a
href="#variant.FeatureUnsupported" class="anchor">§</a><h3
class="code-header">FeatureUnsupported</h3></section><div
class="docblock"><p>Iceberg feature is not supported.</p>
<p>This error is returned when given iceberg feature is not supported.</p>
-</div></div><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-ErrorKind" class="impl"><a class="src
rightside" href="../src/iceberg/error.rs.html#49-54">Source</a><a
href="#impl-ErrorKind" class="anchor">§</a><h3 class="code-header">impl <a
class="enum" href="enum.ErrorKind.html" title="enum iceberg::ErrorKind">ErrorKi
[...]
-</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-ErrorKind" class="impl"><a class="src rightside"
href="../src/iceberg/error.rs.html#28">Source</a><a
href="#impl-Clone-for-ErrorKind" class="anchor">§</a><h3
class="code-header">impl <a class="trait [...]
+</div></div><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-ErrorKind" class="impl"><a class="src
rightside" href="../src/iceberg/error.rs.html#62-67">Source</a><a
href="#impl-ErrorKind" class="anchor">§</a><h3 class="code-header">impl <a
class="enum" href="enum.ErrorKind.html" title="enum iceberg::ErrorKind">ErrorKi
[...]
+</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-ErrorKind" class="impl"><a class="src rightside"
href="../src/iceberg/error.rs.html#28">Source</a><a
href="#impl-Clone-for-ErrorKind" class="anchor">§</a><h3
class="code-header">impl <a class="trait [...]
and should not be overridden without very good
reason.</div></details></div></details><section id="impl-Copy-for-ErrorKind"
class="impl"><a class="src rightside"
href="../src/iceberg/error.rs.html#28">Source</a><a
href="#impl-Copy-for-ErrorKind" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="enum.ErrorKind.html" title="enum iceberg::E [...]
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: ?<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.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https:/ [...]
diff --git a/api/iceberg/macro.ensure_data_valid.html
b/api/iceberg/macro.ensure_data_valid.html
index 92c95008..1d137097 100644
--- a/api/iceberg/macro.ensure_data_valid.html
+++ b/api/iceberg/macro.ensure_data_valid.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="Helper
macro to check arguments."><title>ensure_data_valid in iceberg -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCod
[...]
+<!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="Helper
macro to check arguments."><title>ensure_data_valid in iceberg -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCod
[...]
($cond: expr, $fmt: literal, $($arg:tt)*) => { ... };
}</code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>Helper macro to check arguments.</p>
<p>Example:</p>
diff --git a/api/iceberg/struct.Error.html b/api/iceberg/struct.Error.html
index 2d9f5860..06763240 100644
--- a/api/iceberg/struct.Error.html
+++ b/api/iceberg/struct.Error.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="Error is
the error struct returned by all iceberg functions."><title>Error in iceberg -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a
[...]
+<!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="Error is
the error struct returned by all iceberg functions."><title>Error in iceberg -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a
[...]
<h3 id="display"><a class="doc-anchor" href="#display">§</a>Display</h3>
<p>Error can be displayed in two ways:</p>
<ul>
@@ -25,15 +25,15 @@ Backtrace:
at ./src/error.rs:241:9
2: iceberg::error::tests::test_error_debug_with_backtrace::{{closure}}
at ./src/error.rs:305:41
- ...</code></pre></div></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-Error" class="impl"><a
class="src rightside" href="../src/iceberg/error.rs.html#195-250">Source</a><a
href="#impl-Error" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.Error.html" title="struct ic [...]
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.with_context" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#211-214">Source</a><h4
class="code-header">pub fn <a href="#method.with_context"
class="fn">with_context</a>(self, key: &'static <a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, value:
impl <a class="trait"
href="https://doc.rust-lang.org/nightly/core/convert/trait. [...]
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.with_source" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#221-226">Source</a><h4
class="code-header">pub fn <a href="#method.with_source"
class="fn">with_source</a>(self, src: 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://docs.rs/anyhow/1.0.95/anyhow [...]
+ ...</code></pre></div></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-Error" class="impl"><a
class="src rightside" href="../src/iceberg/error.rs.html#212-267">Source</a><a
href="#impl-Error" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.Error.html" title="struct ic [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.with_context" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#228-231">Source</a><h4
class="code-header">pub fn <a href="#method.with_context"
class="fn">with_context</a>(self, key: &'static <a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, value:
impl <a class="trait"
href="https://doc.rust-lang.org/nightly/core/convert/trait. [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.with_source" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#238-243">Source</a><h4
class="code-header">pub fn <a href="#method.with_source"
class="fn">with_source</a>(self, src: 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://docs.rs/anyhow/1.0.95/anyhow [...]
<h5 id="notes"><a class="doc-anchor" href="#notes">§</a>Notes</h5>
<p>If the source has been set, we will raise a panic here.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.kind" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#241-243">Source</a><h4
class="code-header">pub fn <a href="#method.kind"
class="fn">kind</a>(&self) -> <a class="enum" href="enum.ErrorKind.html"
title="enum iceberg::ErrorKind">ErrorKind</a></h4></section></summary><div
class="docblock"><p>Return error’s kind.</p>
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.kind" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#258-260">Source</a><h4
class="code-header">pub fn <a href="#method.kind"
class="fn">kind</a>(&self) -> <a class="enum" href="enum.ErrorKind.html"
title="enum iceberg::ErrorKind">ErrorKind</a></h4></section></summary><div
class="docblock"><p>Return error’s kind.</p>
<p>Users can use this method to check error’s kind and take actions.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.message" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#247-249">Source</a><h4
class="code-header">pub fn <a href="#method.message"
class="fn">message</a>(&self) -> &<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h4></section></summary><div
class="docblock"><p>Return error’s message.</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-Error" class="impl"><a class="src rightside"
href="../src/iceberg/error.rs.html#148-187">Source</a><a
href="#impl-Debug-for-Error" class="anchor">§</a><h3 class="code-header">impl
<a class="trait" h [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.message" class="method"><a class="src rightside"
href="../src/iceberg/error.rs.html#264-266">Source</a><h4
class="code-header">pub fn <a href="#method.message"
class="fn">message</a>(&self) -> &<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h4></section></summary><div
class="docblock"><p>Return error’s message.</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-Error" class="impl"><a class="src rightside"
href="../src/iceberg/error.rs.html#165-204">Source</a><a
href="#impl-Debug-for-Error" class="anchor">§</a><h3 class="code-header">impl
<a class="trait" h [...]
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: <a class="trait"
href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html"
title="trait core::error::Error">Error</a> +
'static,</div></h3></section></summary><div class="impl-items"><details
class="toggle method-toggle" open><summary><section id="method.as_error_source"
class="method trait-impl"><a href="#method.as_error_source"
class="anchor">§</a><h4 class="code-header">fn <a
class="fn">as_error_source</a>(&self) -> &(dyn <a class="trait"
href="https://doc [...]
to benefit from Rust’s automatic dereferencing of method
diff --git a/api/search-index.js b/api/search-index.js
index 6650bfcb..8020a246 100644
--- a/api/search-index.js
+++ b/api/search-index.js
@@ -1,4 +1,4 @@
-var searchIndex = new
Map(JSON.parse('[["iceberg",{"t":"PPPPPKPPPPPFGPPPFFPPPPPPPPPPIPPPPPPPPFFFGGPPPFNCNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNMMOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMQNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNCNNNNNNNNNNNCNMMMOONNNOOONOMNNNNNNONOOCMOCOONNNNONCOCMNNNNNNNNNNNNNCCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMNNNNNNNNNNNNNCOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOFFFFKSRRSNNNNNNNNHHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNMNNNMNMHM
[...]
+var searchIndex = new
Map(JSON.parse('[["iceberg",{"t":"PPPPPKPPPPPFGPPPFPFPPPPPPPPPPPIPPPPPPPPPFFFPGGPPPFNCNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNMMOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMQNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNCNNNNNNNNNNNCNMMMOONNNOOONOMNNNNNNONOOCMOCOONNNNONCOCMNNNNNNNNNNNNNCCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMNNNNNNNNNNNNNCOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOFFFFKSRRSNNNNNNNNHHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNMNNNM
[...]
if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
else if (window.initSearch) window.initSearch(searchIndex);
-//{"start":39,"fragment_lengths":[86709,1200,2348,2291,1821,2127,2098,2233,1414,3389,787,148,1116]}
\ No newline at end of file
+//{"start":39,"fragment_lengths":[86855,1200,2348,2291,1821,2127,2098,2233,1414,3389,787,148,1116]}
\ No newline at end of file
diff --git a/api/search.desc/iceberg/iceberg-desc-0-.js
b/api/search.desc/iceberg/iceberg-desc-0-.js
index a903c56b..8e840e28 100644
--- a/api/search.desc/iceberg/iceberg-desc-0-.js
+++ b/api/search.desc/iceberg/iceberg-desc-0-.js
@@ -1 +1 @@
-searchState.loadedDescShard("iceberg", 0, "Apache Iceberg Official Native Rust
Implementation\nAdd a new schema to the table\nAdd snapshot to table.\nAdd sort
order to table.\nAdd a new partition spec to the table\nAssign a new UUID to
the table\nThe catalog API for Iceberg Rust.\nThe table’s current schema id
must match the requirement.\nIceberg data is invalid.\nThe table’s default sort
order id must match the …\nThe table’s default spec id must match the
requirement.\nContains the err [...]
\ No newline at end of file
+searchState.loadedDescShard("iceberg", 0, "Apache Iceberg Official Native Rust
Implementation\nAdd a new schema to the table\nAdd snapshot to table.\nAdd sort
order to table.\nAdd a new partition spec to the table\nAssign a new UUID to
the table\nThe catalog API for Iceberg Rust.\nThe table’s current schema id
must match the requirement.\nIceberg data is invalid.\nThe table’s default sort
order id must match the …\nThe table’s default spec id must match the
requirement.\nContains the err [...]
\ No newline at end of file
diff --git a/api/settings.html b/api/settings.html
index 84ed2606..a636ef77 100644
--- a/api/settings.html
+++ b/api/settings.html
@@ -1 +1 @@
-<!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="Settings
of
Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCo
[...]
\ No newline at end of file
+<!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="Settings
of
Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCo
[...]
\ No newline at end of file
diff --git a/api/src/iceberg/error.rs.html b/api/src/iceberg/error.rs.html
index 295aba6a..f7c58e71 100644
--- a/api/src/iceberg/error.rs.html
+++ b/api/src/iceberg/error.rs.html
@@ -467,7 +467,24 @@
<a href="#466" id="466">466</a>
<a href="#467" id="467">467</a>
<a href="#468" id="468">468</a>
-<a href="#469" id="469">469</a></pre></div><pre class="rust"><code><span
class="comment">// Licensed to the Apache Software Foundation (ASF) under one
+<a href="#469" id="469">469</a>
+<a href="#470" id="470">470</a>
+<a href="#471" id="471">471</a>
+<a href="#472" id="472">472</a>
+<a href="#473" id="473">473</a>
+<a href="#474" id="474">474</a>
+<a href="#475" id="475">475</a>
+<a href="#476" id="476">476</a>
+<a href="#477" id="477">477</a>
+<a href="#478" id="478">478</a>
+<a href="#479" id="479">479</a>
+<a href="#480" id="480">480</a>
+<a href="#481" id="481">481</a>
+<a href="#482" id="482">482</a>
+<a href="#483" id="483">483</a>
+<a href="#484" id="484">484</a>
+<a href="#485" id="485">485</a>
+<a href="#486" id="486">486</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
// regarding copyright ownership. The ASF licenses this file
@@ -509,6 +526,19 @@
///
/// The table could be invalid or corrupted.
</span>DataInvalid,
+
+ <span class="doccomment">/// Iceberg namespace already exists at creation.
+ </span>NamespaceAlreadyExists,
+
+ <span class="doccomment">/// Iceberg table already exists at creation.
+ </span>TableAlreadyExists,
+
+ <span class="doccomment">/// Iceberg namespace already exists at creation.
+ </span>NamespaceNotFound,
+
+ <span class="doccomment">/// Iceberg table already exists at creation.
+ </span>TableNotFound,
+
<span class="doccomment">/// Iceberg feature is not supported.
///
/// This error is returned when given iceberg feature is not supported.
@@ -528,6 +558,10 @@
ErrorKind::Unexpected => <span
class="string">"Unexpected"</span>,
ErrorKind::DataInvalid => <span
class="string">"DataInvalid"</span>,
ErrorKind::FeatureUnsupported => <span
class="string">"FeatureUnsupported"</span>,
+ ErrorKind::TableAlreadyExists => <span
class="string">"TableAlreadyExists"</span>,
+ ErrorKind::TableNotFound => <span
class="string">"TableNotFound"</span>,
+ ErrorKind::NamespaceAlreadyExists => <span
class="string">"NamespaceAlreadyExists"</span>,
+ ErrorKind::NamespaceNotFound => <span
class="string">"NamespaceNotFound"</span>,
}
}
}
diff --git a/api/src/iceberg_catalog_glue/catalog.rs.html
b/api/src/iceberg_catalog_glue/catalog.rs.html
index b611ede3..820d4d97 100644
--- a/api/src/iceberg_catalog_glue/catalog.rs.html
+++ b/api/src/iceberg_catalog_glue/catalog.rs.html
@@ -1087,7 +1087,7 @@
<span class="kw">match </span>glue_table_output.table() {
<span class="prelude-val">None </span>=> <span
class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unexpected,
+ ErrorKind::TableNotFound,
<span class="macro">format!</span>(
<span class="string">"Table object for database: {} and
table: {} does not exist"</span>,
db_name, table_name
@@ -1201,7 +1201,7 @@
<span class="kw">match </span>glue_table_output.table() {
<span class="prelude-val">None </span>=> <span
class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unexpected,
+ ErrorKind::TableNotFound,
<span class="macro">format!</span>(
<span class="string">"'Table' object for database: {} and
table: {} does not exist"</span>,
src_db_name, src_table_name
diff --git a/api/src/iceberg_catalog_memory/catalog.rs.html
b/api/src/iceberg_catalog_memory/catalog.rs.html
index ddf099a3..ff17111b 100644
--- a/api/src/iceberg_catalog_memory/catalog.rs.html
+++ b/api/src/iceberg_catalog_memory/catalog.rs.html
@@ -2279,7 +2279,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => Cannot create namespace
{:?}. Namespace already exists."</span>,
+ <span class="string">"NamespaceAlreadyExists => Cannot
create namespace {:?}. Namespace already exists."</span>,
<span class="kw-2">&</span>namespace_ident
)
);
@@ -2348,7 +2348,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
NamespaceIdent::new(<span class="string">"a"</span>.into())
)
);
@@ -2373,7 +2373,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
NamespaceIdent::from_strs(<span
class="macro">vec!</span>[<span class="string">"a"</span>, <span
class="string">"b"</span>]).unwrap()
)
);
@@ -2454,7 +2454,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_namespace_ident
)
)
@@ -2541,7 +2541,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_namespace_ident
)
)
@@ -2618,7 +2618,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_namespace_ident
)
)
@@ -2638,7 +2638,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_namespace_ident
)
)
@@ -2938,7 +2938,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => Cannot create table
{:?}. Table already exists."</span>,
+ <span class="string">"TableAlreadyExists => Cannot create
table {:?}. Table already exists."</span>,
<span class="kw-2">&</span>table_ident
)
);
@@ -3040,7 +3040,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_namespace_ident
),
);
@@ -3090,7 +3090,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_namespace_ident
),
);
@@ -3111,7 +3111,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such table:
{:?}"</span>,
+ <span class="string">"TableNotFound => No such table:
{:?}"</span>,
non_existent_table_ident
),
);
@@ -3175,7 +3175,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_namespace_ident
),
);
@@ -3290,7 +3290,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_src_namespace_ident
),
);
@@ -3314,7 +3314,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => No such namespace:
{:?}"</span>,
+ <span class="string">"NamespaceNotFound => No such
namespace: {:?}"</span>,
non_existent_dst_namespace_ident
),
);
@@ -3334,7 +3334,7 @@
.<span class="kw">await
</span>.unwrap_err()
.to_string(),
- <span class="macro">format!</span>(<span
class="string">"Unexpected => No such table: {:?}"</span>, src_table_ident),
+ <span class="macro">format!</span>(<span
class="string">"TableNotFound => No such table: {:?}"</span>,
src_table_ident),
);
}
@@ -3354,7 +3354,7 @@
</span>.unwrap_err()
.to_string(),
<span class="macro">format!</span>(
- <span class="string">"Unexpected => Cannot create table {:?
}. Table already exists."</span>,
+ <span class="string">"TableAlreadyExists => Cannot create
table {:? }. Table already exists."</span>,
<span class="kw-2">&</span>dst_table_ident
),
);
diff --git a/api/src/iceberg_catalog_memory/namespace_state.rs.html
b/api/src/iceberg_catalog_memory/namespace_state.rs.html
index 6303a657..af8e2488 100644
--- a/api/src/iceberg_catalog_memory/namespace_state.rs.html
+++ b/api/src/iceberg_catalog_memory/namespace_state.rs.html
@@ -331,21 +331,21 @@
<span class="kw">fn </span>no_such_namespace_err<T>(namespace_ident:
<span class="kw-2">&</span>NamespaceIdent) -> <span
class="prelude-ty">Result</span><T> {
<span class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unexpected,
+ ErrorKind::NamespaceNotFound,
<span class="macro">format!</span>(<span class="string">"No such
namespace: {:?}"</span>, namespace_ident),
))
}
<span class="kw">fn </span>no_such_table_err<T>(table_ident: <span
class="kw-2">&</span>TableIdent) -> <span
class="prelude-ty">Result</span><T> {
<span class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unexpected,
+ ErrorKind::TableNotFound,
<span class="macro">format!</span>(<span class="string">"No such
table: {:?}"</span>, table_ident),
))
}
<span class="kw">fn
</span>namespace_already_exists_err<T>(namespace_ident: <span
class="kw-2">&</span>NamespaceIdent) -> <span
class="prelude-ty">Result</span><T> {
<span class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unexpected,
+ ErrorKind::NamespaceAlreadyExists,
<span class="macro">format!</span>(
<span class="string">"Cannot create namespace {:?}. Namespace
already exists."</span>,
namespace_ident
@@ -355,7 +355,7 @@
<span class="kw">fn </span>table_already_exists_err<T>(table_ident:
<span class="kw-2">&</span>TableIdent) -> <span
class="prelude-ty">Result</span><T> {
<span class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unexpected,
+ ErrorKind::TableAlreadyExists,
<span class="macro">format!</span>(
<span class="string">"Cannot create table {:?}. Table already
exists."</span>,
table_ident