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 7cdcba86 deploy: 7bf0884e5876ecfbdeade8f54aacb60694aeb8bd
7cdcba86 is described below
commit 7cdcba86ad081ffcc633901d8b919973223c1b8b
Author: sdd <[email protected]>
AuthorDate: Mon May 12 22:21:27 2025 +0000
deploy: 7bf0884e5876ecfbdeade8f54aacb60694aeb8bd
---
api/iceberg/spec/struct.ManifestWriter.html | 8 ++++----
api/src/iceberg/spec/manifest/writer.rs.html | 16 +++++++++++++---
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/api/iceberg/spec/struct.ManifestWriter.html
b/api/iceberg/spec/struct.ManifestWriter.html
index aaafb96e..231407ea 100644
--- a/api/iceberg/spec/struct.ManifestWriter.html
+++ b/api/iceberg/spec/struct.ManifestWriter.html
@@ -1,12 +1,12 @@
<!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="A manifest
writer."><title>ManifestWriter in iceberg::spec -
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,SourceCodePro-Regula
[...]
-</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-ManifestWriter"
class="impl"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#125-417">Source</a><a
href="#impl-ManifestWriter" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.ManifestWriter.ht [...]
+</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-ManifestWriter"
class="impl"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#125-422">Source</a><a
href="#impl-ManifestWriter" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.ManifestWriter.ht [...]
&mut self,
data_file: <a class="struct" href="struct.DataFile.html" title="struct
iceberg::spec::DataFile">DataFile</a>,
sequence_number: <a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>,
) -> <a class="type" href="../type.Result.html" title="type
iceberg::Result">Result</a><<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div
class="docblock"><p>Add file as an added entry with a specific sequence
number. The entry’s snapshot ID will be this manifest’s snapshot ID. The
entry’s data sequence
number will be the provided data sequence number. The entry’s file sequence
number will be
assigned at commit.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.add_delete_file" class="method"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#249-265">Source</a><h4
class="code-header">pub fn <a href="#method.add_delete_file"
class="fn">add_delete_file</a>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.add_delete_file" class="method"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#254-270">Source</a><h4
class="code-header">pub fn <a href="#method.add_delete_file"
class="fn">add_delete_file</a>(
&mut self,
data_file: <a class="struct" href="struct.DataFile.html" title="struct
iceberg::spec::DataFile">DataFile</a>,
sequence_number: <a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>,
@@ -14,7 +14,7 @@ assigned at commit.</p>
) -> <a class="type" href="../type.Result.html" title="type
iceberg::Result">Result</a><<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div
class="docblock"><p>Add a file as delete manifest entry. The entry’s snapshot
ID will be this manifest’s snapshot ID.
However, the original data and file sequence numbers of the file must be
preserved when
the file is marked as deleted.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.add_existing_file" class="method"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#282-299">Source</a><h4
class="code-header">pub fn <a href="#method.add_existing_file"
class="fn">add_existing_file</a>(
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.add_existing_file" class="method"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#287-304">Source</a><h4
class="code-header">pub fn <a href="#method.add_existing_file"
class="fn">add_existing_file</a>(
&mut self,
data_file: <a class="struct" href="struct.DataFile.html" title="struct
iceberg::spec::DataFile">DataFile</a>,
snapshot_id: <a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>,
@@ -22,7 +22,7 @@ the file is marked as deleted.</p>
file_sequence_number: <a class="enum"
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>>,
) -> <a class="type" href="../type.Result.html" title="type
iceberg::Result">Result</a><<a class="primitive"
href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div
class="docblock"><p>Add an file as existing manifest entry. The original data
and file sequence numbers, snapshot ID,
which were assigned at commit, must be preserved when adding an existing
entry.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.write_manifest_file" class="method"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#337-416">Source</a><h4
class="code-header">pub async fn <a href="#method.write_manifest_file"
class="fn">write_manifest_file</a>(self) -> <a class="type"
href="../type.Result.html" title="type iceberg::Result">Result</a><<a
class="struct" href="struct.ManifestFile.html" title="struct [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.write_manifest_file" class="method"><a class="src rightside"
href="../../src/iceberg/spec/manifest/writer.rs.html#342-421">Source</a><h4
class="code-header">pub async fn <a href="#method.write_manifest_file"
class="fn">write_manifest_file</a>(self) -> <a class="type"
href="../type.Result.html" title="type iceberg::Result">Result</a><<a
class="struct" href="struct.ManifestFile.html" title="struct [...]
</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-ManifestWriter" class="impl"><a
href="#impl-Freeze-for-ManifestWriter" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html"
title="trait core::marker::Fre [...]
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/src/iceberg/spec/manifest/writer.rs.html
b/api/src/iceberg/spec/manifest/writer.rs.html
index b3b13051..53a6c92f 100644
--- a/api/src/iceberg/spec/manifest/writer.rs.html
+++ b/api/src/iceberg/spec/manifest/writer.rs.html
@@ -640,7 +640,12 @@
<a href="#639" id="639">639</a>
<a href="#640" id="640">640</a>
<a href="#641" id="641">641</a>
-<a href="#642" id="642">642</a></pre></div><pre class="rust"><code><span
class="comment">// Licensed to the Apache Software Foundation (ASF) under one
+<a href="#642" id="642">642</a>
+<a href="#643" id="643">643</a>
+<a href="#644" id="644">644</a>
+<a href="#645" id="645">645</a>
+<a href="#646" id="646">646</a>
+<a href="#647" id="647">647</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
@@ -813,7 +818,8 @@
<span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(
ErrorKind::DataInvalid,
<span class="macro">format!</span>(
- <span class="string">"Content type of entry {:?}
should have DataContentType::Data"</span>,
+ <span class="string">"Date file at path {} with
manifest content type `data`, should have DataContentType `Data`, but has
`{:?}`"</span>,
+ data_file.file_path(),
data_file.content
),
));
@@ -825,7 +831,11 @@
{
<span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(
ErrorKind::DataInvalid,
- <span class="macro">format!</span>(<span
class="string">"Content type of entry {:?} should have
DataContentType::EqualityDeletes or DataContentType::PositionDeletes"</span>,
data_file.content),
+ <span class="macro">format!</span>(
+ <span class="string">"Date file at path {} with
manifest content type `deletes`, should have DataContentType `Data`, but has
`{:?}`"</span>,
+ data_file.file_path(),
+ data_file.content
+ ),
));
}
}