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 27cdd076 deploy: 4e19e92980b868bee5ab1400f96ffcefbf9606af
27cdd076 is described below
commit 27cdd076077f30517948b790b7ba017ef40809f0
Author: liurenjie1024 <[email protected]>
AuthorDate: Fri Mar 14 03:27:34 2025 +0000
deploy: 4e19e92980b868bee5ab1400f96ffcefbf9606af
---
api/help.html | 2 +-
api/settings.html | 2 +-
api/src/iceberg/delete_file_index.rs.html | 18 +++++++++++++++++-
3 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/api/help.html b/api/help.html
index b3855f23..886bccc7 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-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-5
[...]
\ 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-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-5
[...]
\ No newline at end of file
diff --git a/api/settings.html b/api/settings.html
index 0b4d7eab..430a9162 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-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562
[...]
\ 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-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562
[...]
\ No newline at end of file
diff --git a/api/src/iceberg/delete_file_index.rs.html
b/api/src/iceberg/delete_file_index.rs.html
index ef70c848..85b40774 100644
--- a/api/src/iceberg/delete_file_index.rs.html
+++ b/api/src/iceberg/delete_file_index.rs.html
@@ -209,6 +209,14 @@
<a href="#209" id="209">209</a>
<a href="#210" id="210">210</a>
<a href="#211" id="211">211</a>
+<a href="#212" id="212">212</a>
+<a href="#213" id="213">213</a>
+<a href="#214" id="214">214</a>
+<a href="#215" id="215">215</a>
+<a href="#216" id="216">216</a>
+<a href="#217" id="217">217</a>
+<a href="#218" id="218">218</a>
+<a href="#219" id="219">219</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
@@ -305,7 +313,15 @@
}
<span class="kw">impl </span>PopulatedDeleteFileIndex {
- <span class="kw">fn </span>new(files: Vec<DeleteFileContext>) ->
PopulatedDeleteFileIndex {
+ <span class="doccomment">/// Creates a new populated delete file index
from a list of delete file contexts, which
+ /// allows for fast lookup when determining which delete files apply to a
given data file.
+ ///
+ /// 1. The partition information is extracted from each delete file's
manifest entry.
+ /// 2. If the partition is empty and the delete file is not a positional
delete,
+ /// it is added to the `global_delees` vector
+ /// 3. Otherwise, the delete file is added to one of two hash maps based
on its content type.
+
+ </span><span class="kw">fn </span>new(files: Vec<DeleteFileContext>)
-> PopulatedDeleteFileIndex {
<span class="kw">let </span><span class="kw-2">mut
</span>eq_deletes_by_partition: HashMap<Struct,
Vec<Arc<DeleteFileContext>>> =
HashMap::default();
<span class="kw">let </span><span class="kw-2">mut
</span>pos_deletes_by_partition: HashMap<Struct,
Vec<Arc<DeleteFileContext>>> =