You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by gi...@apache.org on 2025/03/19 02:25:35 UTC
(iceberg-rust) branch gh-pages updated: deploy: 5e03d9f5778ffffc2b4b91abcd83311e69bad965
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 53f41fa7 deploy: 5e03d9f5778ffffc2b4b91abcd83311e69bad965
53f41fa7 is described below
commit 53f41fa71253040c5aab9c8316ebc32eb4705539
Author: Xuanwo <Xu...@users.noreply.github.com>
AuthorDate: Wed Mar 19 02:25:30 2025 +0000
deploy: 5e03d9f5778ffffc2b4b91abcd83311e69bad965
---
api.html | 172 +++++++++++++++++++++++++++---------------------------
api/help.html | 2 +-
api/settings.html | 2 +-
print.html | 172 +++++++++++++++++++++++++++---------------------------
searchindex.js | 2 +-
searchindex.json | 2 +-
6 files changed, 176 insertions(+), 176 deletions(-)
diff --git a/api.html b/api.html
index 71c31538..3e6fcc00 100644
--- a/api.html
+++ b/api.html
@@ -238,12 +238,12 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring">/// [quickstart documentation](https://iceberg.apache.org/spark-quickstart/).
</span><span class="boring">#[tokio::main]
</span><span class="boring">async fn main() {
-</span><span class="boring"> // Create the REST iceberg catalog.
-</span><span class="boring"> let config = RestCatalogConfig::builder()
-</span><span class="boring"> .uri(REST_URI.to_string())
-</span><span class="boring"> .build();
-</span><span class="boring"> let catalog = RestCatalog::new(config);
-</span><span class="boring">
+</span> // Create the REST iceberg catalog.
+ let config = RestCatalogConfig::builder()
+ .uri(REST_URI.to_string())
+ .build();
+ let catalog = RestCatalog::new(config);
+<span class="boring">
</span><span class="boring"> // List all namespaces already in the catalog.
</span><span class="boring"> let existing_namespaces = catalog.list_namespaces(None).await.unwrap();
</span><span class="boring"> println!(
@@ -314,13 +314,13 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> .build();
</span><span class="boring"> let catalog = RestCatalog::new(config);
</span><span class="boring">
-</span><span class="boring"> // List all namespaces already in the catalog.
-</span><span class="boring"> let existing_namespaces = catalog.list_namespaces(None).await.unwrap();
-</span><span class="boring"> println!(
-</span><span class="boring"> "Namespaces alreading in the existing catalog: {:?}",
-</span><span class="boring"> existing_namespaces
-</span><span class="boring"> );
-</span><span class="boring">
+</span> // List all namespaces already in the catalog.
+ let existing_namespaces = catalog.list_namespaces(None).await.unwrap();
+ println!(
+ "Namespaces alreading in the existing catalog: {:?}",
+ existing_namespaces
+ );
+<span class="boring">
</span><span class="boring"> // Create a new namespace identifier.
</span><span class="boring"> let namespace_ident =
</span><span class="boring"> NamespaceIdent::from_vec(vec!["ns1".to_string(), "ns11".to_string()]).unwrap();
@@ -391,29 +391,29 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> existing_namespaces
</span><span class="boring"> );
</span><span class="boring">
-</span><span class="boring"> // Create a new namespace identifier.
-</span><span class="boring"> let namespace_ident =
-</span><span class="boring"> NamespaceIdent::from_vec(vec!["ns1".to_string(), "ns11".to_string()]).unwrap();
-</span><span class="boring">
-</span><span class="boring"> // Drop the namespace if it already exists.
-</span><span class="boring"> if catalog.namespace_exists(&namespace_ident).await.unwrap() {
-</span><span class="boring"> println!("Namespace already exists, dropping now.",);
-</span><span class="boring"> catalog.drop_namespace(&namespace_ident).await.unwrap();
-</span><span class="boring"> }
-</span><span class="boring">
-</span><span class="boring"> // Create the new namespace in the catalog.
-</span><span class="boring"> let _created_namespace = catalog
-</span><span class="boring"> .create_namespace(
-</span><span class="boring"> &namespace_ident,
-</span><span class="boring"> HashMap::from([("key1".to_string(), "value1".to_string())]),
-</span><span class="boring"> )
-</span><span class="boring"> .await
-</span><span class="boring"> .unwrap();
-</span><span class="boring"> println!("Namespace {:?} created!", namespace_ident);
-</span><span class="boring">
-</span><span class="boring"> let loaded_namespace = catalog.get_namespace(&namespace_ident).await.unwrap();
-</span><span class="boring"> println!("Namespace loaded!\n\nNamespace: {:#?}", loaded_namespace,);
-</span><span class="boring">}</span></code></pre>
+</span> // Create a new namespace identifier.
+ let namespace_ident =
+ NamespaceIdent::from_vec(vec!["ns1".to_string(), "ns11".to_string()]).unwrap();
+
+ // Drop the namespace if it already exists.
+ if catalog.namespace_exists(&namespace_ident).await.unwrap() {
+ println!("Namespace already exists, dropping now.",);
+ catalog.drop_namespace(&namespace_ident).await.unwrap();
+ }
+
+ // Create the new namespace in the catalog.
+ let _created_namespace = catalog
+ .create_namespace(
+ &namespace_ident,
+ HashMap::from([("key1".to_string(), "value1".to_string())]),
+ )
+ .await
+ .unwrap();
+ println!("Namespace {:?} created!", namespace_ident);
+
+ let loaded_namespace = catalog.get_namespace(&namespace_ident).await.unwrap();
+ println!("Namespace loaded!\n\nNamespace: {:#?}", loaded_namespace,);
+<span class="boring">}</span></code></pre>
<h1 id="table"><a class="header" href="#table">Table</a></h1>
<p>After creating <code>Catalog</code>, we can manipulate tables through <code>Catalog</code>.</p>
<p>You can use following code to create a table:</p>
@@ -459,45 +459,45 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> .build();
</span><span class="boring"> let catalog = RestCatalog::new(config);
</span><span class="boring">
-</span><span class="boring"> // Create the table identifier.
-</span><span class="boring"> let namespace_ident = NamespaceIdent::from_vec(vec![NAMESPACE.to_string()]).unwrap();
-</span><span class="boring"> let table_ident = TableIdent::new(namespace_ident.clone(), TABLE_NAME.to_string());
-</span><span class="boring">
-</span><span class="boring"> // You can also use the `from_strs` method on `TableIdent` to create the table identifier.
-</span><span class="boring"> // let table_ident = TableIdent::from_strs([NAMESPACE, TABLE_NAME]).unwrap();
-</span><span class="boring">
-</span><span class="boring"> // Drop the table if it already exists.
-</span><span class="boring"> if catalog.table_exists(&table_ident).await.unwrap() {
-</span><span class="boring"> println!("Table {TABLE_NAME} already exists, dropping now.");
-</span><span class="boring"> catalog.drop_table(&table_ident).await.unwrap();
-</span><span class="boring"> }
-</span><span class="boring">
-</span><span class="boring"> // Build the table schema.
-</span><span class="boring"> let table_schema = Schema::builder()
-</span><span class="boring"> .with_fields(vec![
-</span><span class="boring"> NestedField::optional(1, "foo", Type::Primitive(PrimitiveType::String)).into(),
-</span><span class="boring"> NestedField::required(2, "bar", Type::Primitive(PrimitiveType::Int)).into(),
-</span><span class="boring"> NestedField::optional(3, "baz", Type::Primitive(PrimitiveType::Boolean)).into(),
-</span><span class="boring"> ])
-</span><span class="boring"> .with_schema_id(1)
-</span><span class="boring"> .with_identifier_field_ids(vec![2])
-</span><span class="boring"> .build()
-</span><span class="boring"> .unwrap();
-</span><span class="boring">
-</span><span class="boring"> // Build the table creation parameters.
-</span><span class="boring"> let table_creation = TableCreation::builder()
-</span><span class="boring"> .name(table_ident.name.clone())
-</span><span class="boring"> .schema(table_schema.clone())
-</span><span class="boring"> .properties(HashMap::from([("owner".to_string(), "testx".to_string())]))
-</span><span class="boring"> .build();
-</span><span class="boring">
-</span><span class="boring"> // Create the table.
-</span><span class="boring"> let _created_table = catalog
-</span><span class="boring"> .create_table(&table_ident.namespace, table_creation)
-</span><span class="boring"> .await
-</span><span class="boring"> .unwrap();
-</span><span class="boring"> println!("Table {TABLE_NAME} created!");
-</span><span class="boring">
+</span> // Create the table identifier.
+ let namespace_ident = NamespaceIdent::from_vec(vec![NAMESPACE.to_string()]).unwrap();
+ let table_ident = TableIdent::new(namespace_ident.clone(), TABLE_NAME.to_string());
+
+ // You can also use the `from_strs` method on `TableIdent` to create the table identifier.
+ // let table_ident = TableIdent::from_strs([NAMESPACE, TABLE_NAME]).unwrap();
+
+ // Drop the table if it already exists.
+ if catalog.table_exists(&table_ident).await.unwrap() {
+ println!("Table {TABLE_NAME} already exists, dropping now.");
+ catalog.drop_table(&table_ident).await.unwrap();
+ }
+
+ // Build the table schema.
+ let table_schema = Schema::builder()
+ .with_fields(vec![
+ NestedField::optional(1, "foo", Type::Primitive(PrimitiveType::String)).into(),
+ NestedField::required(2, "bar", Type::Primitive(PrimitiveType::Int)).into(),
+ NestedField::optional(3, "baz", Type::Primitive(PrimitiveType::Boolean)).into(),
+ ])
+ .with_schema_id(1)
+ .with_identifier_field_ids(vec![2])
+ .build()
+ .unwrap();
+
+ // Build the table creation parameters.
+ let table_creation = TableCreation::builder()
+ .name(table_ident.name.clone())
+ .schema(table_schema.clone())
+ .properties(HashMap::from([("owner".to_string(), "testx".to_string())]))
+ .build();
+
+ // Create the table.
+ let _created_table = catalog
+ .create_table(&table_ident.namespace, table_creation)
+ .await
+ .unwrap();
+ println!("Table {TABLE_NAME} created!");
+<span class="boring">
</span><span class="boring"> // Ensure that the table is under the correct namespace.
</span><span class="boring"> assert!(catalog
</span><span class="boring"> .list_tables(&namespace_ident)
@@ -591,17 +591,17 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> .unwrap();
</span><span class="boring"> println!("Table {TABLE_NAME} created!");
</span><span class="boring">
-</span><span class="boring"> // Ensure that the table is under the correct namespace.
-</span><span class="boring"> assert!(catalog
-</span><span class="boring"> .list_tables(&namespace_ident)
-</span><span class="boring"> .await
-</span><span class="boring"> .unwrap()
-</span><span class="boring"> .contains(&table_ident));
-</span><span class="boring">
-</span><span class="boring"> // Load the table back from the catalog. It should be identical to the created table.
-</span><span class="boring"> let loaded_table = catalog.load_table(&table_ident).await.unwrap();
-</span><span class="boring"> println!("Table {TABLE_NAME} loaded!\n\nTable: {:?}", loaded_table);
-</span><span class="boring">}</span></code></pre>
+</span> // Ensure that the table is under the correct namespace.
+ assert!(catalog
+ .list_tables(&namespace_ident)
+ .await
+ .unwrap()
+ .contains(&table_ident));
+
+ // Load the table back from the catalog. It should be identical to the created table.
+ let loaded_table = catalog.load_table(&table_ident).await.unwrap();
+ println!("Table {TABLE_NAME} loaded!\n\nTable: {:?}", loaded_table);
+<span class="boring">}</span></code></pre>
</main>
diff --git a/api/help.html b/api/help.html
index 21943ce1..b3855f23 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 8bb04340..0b4d7eab 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/print.html b/print.html
index f81586b0..68773607 100644
--- a/print.html
+++ b/print.html
@@ -336,12 +336,12 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring">/// [quickstart documentation](https://iceberg.apache.org/spark-quickstart/).
</span><span class="boring">#[tokio::main]
</span><span class="boring">async fn main() {
-</span><span class="boring"> // Create the REST iceberg catalog.
-</span><span class="boring"> let config = RestCatalogConfig::builder()
-</span><span class="boring"> .uri(REST_URI.to_string())
-</span><span class="boring"> .build();
-</span><span class="boring"> let catalog = RestCatalog::new(config);
-</span><span class="boring">
+</span> // Create the REST iceberg catalog.
+ let config = RestCatalogConfig::builder()
+ .uri(REST_URI.to_string())
+ .build();
+ let catalog = RestCatalog::new(config);
+<span class="boring">
</span><span class="boring"> // List all namespaces already in the catalog.
</span><span class="boring"> let existing_namespaces = catalog.list_namespaces(None).await.unwrap();
</span><span class="boring"> println!(
@@ -412,13 +412,13 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> .build();
</span><span class="boring"> let catalog = RestCatalog::new(config);
</span><span class="boring">
-</span><span class="boring"> // List all namespaces already in the catalog.
-</span><span class="boring"> let existing_namespaces = catalog.list_namespaces(None).await.unwrap();
-</span><span class="boring"> println!(
-</span><span class="boring"> "Namespaces alreading in the existing catalog: {:?}",
-</span><span class="boring"> existing_namespaces
-</span><span class="boring"> );
-</span><span class="boring">
+</span> // List all namespaces already in the catalog.
+ let existing_namespaces = catalog.list_namespaces(None).await.unwrap();
+ println!(
+ "Namespaces alreading in the existing catalog: {:?}",
+ existing_namespaces
+ );
+<span class="boring">
</span><span class="boring"> // Create a new namespace identifier.
</span><span class="boring"> let namespace_ident =
</span><span class="boring"> NamespaceIdent::from_vec(vec!["ns1".to_string(), "ns11".to_string()]).unwrap();
@@ -489,29 +489,29 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> existing_namespaces
</span><span class="boring"> );
</span><span class="boring">
-</span><span class="boring"> // Create a new namespace identifier.
-</span><span class="boring"> let namespace_ident =
-</span><span class="boring"> NamespaceIdent::from_vec(vec!["ns1".to_string(), "ns11".to_string()]).unwrap();
-</span><span class="boring">
-</span><span class="boring"> // Drop the namespace if it already exists.
-</span><span class="boring"> if catalog.namespace_exists(&namespace_ident).await.unwrap() {
-</span><span class="boring"> println!("Namespace already exists, dropping now.",);
-</span><span class="boring"> catalog.drop_namespace(&namespace_ident).await.unwrap();
-</span><span class="boring"> }
-</span><span class="boring">
-</span><span class="boring"> // Create the new namespace in the catalog.
-</span><span class="boring"> let _created_namespace = catalog
-</span><span class="boring"> .create_namespace(
-</span><span class="boring"> &namespace_ident,
-</span><span class="boring"> HashMap::from([("key1".to_string(), "value1".to_string())]),
-</span><span class="boring"> )
-</span><span class="boring"> .await
-</span><span class="boring"> .unwrap();
-</span><span class="boring"> println!("Namespace {:?} created!", namespace_ident);
-</span><span class="boring">
-</span><span class="boring"> let loaded_namespace = catalog.get_namespace(&namespace_ident).await.unwrap();
-</span><span class="boring"> println!("Namespace loaded!\n\nNamespace: {:#?}", loaded_namespace,);
-</span><span class="boring">}</span></code></pre>
+</span> // Create a new namespace identifier.
+ let namespace_ident =
+ NamespaceIdent::from_vec(vec!["ns1".to_string(), "ns11".to_string()]).unwrap();
+
+ // Drop the namespace if it already exists.
+ if catalog.namespace_exists(&namespace_ident).await.unwrap() {
+ println!("Namespace already exists, dropping now.",);
+ catalog.drop_namespace(&namespace_ident).await.unwrap();
+ }
+
+ // Create the new namespace in the catalog.
+ let _created_namespace = catalog
+ .create_namespace(
+ &namespace_ident,
+ HashMap::from([("key1".to_string(), "value1".to_string())]),
+ )
+ .await
+ .unwrap();
+ println!("Namespace {:?} created!", namespace_ident);
+
+ let loaded_namespace = catalog.get_namespace(&namespace_ident).await.unwrap();
+ println!("Namespace loaded!\n\nNamespace: {:#?}", loaded_namespace,);
+<span class="boring">}</span></code></pre>
<h1 id="table"><a class="header" href="#table">Table</a></h1>
<p>After creating <code>Catalog</code>, we can manipulate tables through <code>Catalog</code>.</p>
<p>You can use following code to create a table:</p>
@@ -557,45 +557,45 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> .build();
</span><span class="boring"> let catalog = RestCatalog::new(config);
</span><span class="boring">
-</span><span class="boring"> // Create the table identifier.
-</span><span class="boring"> let namespace_ident = NamespaceIdent::from_vec(vec![NAMESPACE.to_string()]).unwrap();
-</span><span class="boring"> let table_ident = TableIdent::new(namespace_ident.clone(), TABLE_NAME.to_string());
-</span><span class="boring">
-</span><span class="boring"> // You can also use the `from_strs` method on `TableIdent` to create the table identifier.
-</span><span class="boring"> // let table_ident = TableIdent::from_strs([NAMESPACE, TABLE_NAME]).unwrap();
-</span><span class="boring">
-</span><span class="boring"> // Drop the table if it already exists.
-</span><span class="boring"> if catalog.table_exists(&table_ident).await.unwrap() {
-</span><span class="boring"> println!("Table {TABLE_NAME} already exists, dropping now.");
-</span><span class="boring"> catalog.drop_table(&table_ident).await.unwrap();
-</span><span class="boring"> }
-</span><span class="boring">
-</span><span class="boring"> // Build the table schema.
-</span><span class="boring"> let table_schema = Schema::builder()
-</span><span class="boring"> .with_fields(vec![
-</span><span class="boring"> NestedField::optional(1, "foo", Type::Primitive(PrimitiveType::String)).into(),
-</span><span class="boring"> NestedField::required(2, "bar", Type::Primitive(PrimitiveType::Int)).into(),
-</span><span class="boring"> NestedField::optional(3, "baz", Type::Primitive(PrimitiveType::Boolean)).into(),
-</span><span class="boring"> ])
-</span><span class="boring"> .with_schema_id(1)
-</span><span class="boring"> .with_identifier_field_ids(vec![2])
-</span><span class="boring"> .build()
-</span><span class="boring"> .unwrap();
-</span><span class="boring">
-</span><span class="boring"> // Build the table creation parameters.
-</span><span class="boring"> let table_creation = TableCreation::builder()
-</span><span class="boring"> .name(table_ident.name.clone())
-</span><span class="boring"> .schema(table_schema.clone())
-</span><span class="boring"> .properties(HashMap::from([("owner".to_string(), "testx".to_string())]))
-</span><span class="boring"> .build();
-</span><span class="boring">
-</span><span class="boring"> // Create the table.
-</span><span class="boring"> let _created_table = catalog
-</span><span class="boring"> .create_table(&table_ident.namespace, table_creation)
-</span><span class="boring"> .await
-</span><span class="boring"> .unwrap();
-</span><span class="boring"> println!("Table {TABLE_NAME} created!");
-</span><span class="boring">
+</span> // Create the table identifier.
+ let namespace_ident = NamespaceIdent::from_vec(vec![NAMESPACE.to_string()]).unwrap();
+ let table_ident = TableIdent::new(namespace_ident.clone(), TABLE_NAME.to_string());
+
+ // You can also use the `from_strs` method on `TableIdent` to create the table identifier.
+ // let table_ident = TableIdent::from_strs([NAMESPACE, TABLE_NAME]).unwrap();
+
+ // Drop the table if it already exists.
+ if catalog.table_exists(&table_ident).await.unwrap() {
+ println!("Table {TABLE_NAME} already exists, dropping now.");
+ catalog.drop_table(&table_ident).await.unwrap();
+ }
+
+ // Build the table schema.
+ let table_schema = Schema::builder()
+ .with_fields(vec![
+ NestedField::optional(1, "foo", Type::Primitive(PrimitiveType::String)).into(),
+ NestedField::required(2, "bar", Type::Primitive(PrimitiveType::Int)).into(),
+ NestedField::optional(3, "baz", Type::Primitive(PrimitiveType::Boolean)).into(),
+ ])
+ .with_schema_id(1)
+ .with_identifier_field_ids(vec![2])
+ .build()
+ .unwrap();
+
+ // Build the table creation parameters.
+ let table_creation = TableCreation::builder()
+ .name(table_ident.name.clone())
+ .schema(table_schema.clone())
+ .properties(HashMap::from([("owner".to_string(), "testx".to_string())]))
+ .build();
+
+ // Create the table.
+ let _created_table = catalog
+ .create_table(&table_ident.namespace, table_creation)
+ .await
+ .unwrap();
+ println!("Table {TABLE_NAME} created!");
+<span class="boring">
</span><span class="boring"> // Ensure that the table is under the correct namespace.
</span><span class="boring"> assert!(catalog
</span><span class="boring"> .list_tables(&namespace_ident)
@@ -689,17 +689,17 @@ example of how to create a <code>RestCatalog</code>:</p>
</span><span class="boring"> .unwrap();
</span><span class="boring"> println!("Table {TABLE_NAME} created!");
</span><span class="boring">
-</span><span class="boring"> // Ensure that the table is under the correct namespace.
-</span><span class="boring"> assert!(catalog
-</span><span class="boring"> .list_tables(&namespace_ident)
-</span><span class="boring"> .await
-</span><span class="boring"> .unwrap()
-</span><span class="boring"> .contains(&table_ident));
-</span><span class="boring">
-</span><span class="boring"> // Load the table back from the catalog. It should be identical to the created table.
-</span><span class="boring"> let loaded_table = catalog.load_table(&table_ident).await.unwrap();
-</span><span class="boring"> println!("Table {TABLE_NAME} loaded!\n\nTable: {:?}", loaded_table);
-</span><span class="boring">}</span></code></pre>
+</span> // Ensure that the table is under the correct namespace.
+ assert!(catalog
+ .list_tables(&namespace_ident)
+ .await
+ .unwrap()
+ .contains(&table_ident));
+
+ // Load the table back from the catalog. It should be identical to the created table.
+ let loaded_table = catalog.load_table(&table_ident).await.unwrap();
+ println!("Table {TABLE_NAME} loaded!\n\nTable: {:?}", loaded_table);
+<span class="boring">}</span></code></pre>
<div style="break-before: page; page-break-before: always;"></div><!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
diff --git a/searchindex.js b/searchindex.js
index de466950..84014618 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Object.assign(window.search, {"doc_urls":["introduction.html#iceberg-rust","install.html#install","download.html#apache-iceberg-rust-downloads","download.html#releases","download.html#notes","download.html#to-verify-the-signature-of-the-release-artifact","download.html#to-verify-the-checksum-of-the-release-artifact","api.html#catalog","api.html#table","CONTRIBUTING.html#contributing","CONTRIBUTING.html#your-first-contribution","CONTRIBUTING.html#workflow","CONTRIBUTING.html#git-branches" [...]
\ No newline at end of file
+Object.assign(window.search, {"doc_urls":["introduction.html#iceberg-rust","install.html#install","download.html#apache-iceberg-rust-downloads","download.html#releases","download.html#notes","download.html#to-verify-the-signature-of-the-release-artifact","download.html#to-verify-the-checksum-of-the-release-artifact","api.html#catalog","api.html#table","CONTRIBUTING.html#contributing","CONTRIBUTING.html#your-first-contribution","CONTRIBUTING.html#workflow","CONTRIBUTING.html#git-branches" [...]
\ No newline at end of file
diff --git a/searchindex.json b/searchindex.json
index e795353d..eb9451f8 100644
--- a/searchindex.json
+++ b/searchindex.json
@@ -1 +1 @@
-{"doc_urls":["introduction.html#iceberg-rust","install.html#install","download.html#apache-iceberg-rust-downloads","download.html#releases","download.html#notes","download.html#to-verify-the-signature-of-the-release-artifact","download.html#to-verify-the-checksum-of-the-release-artifact","api.html#catalog","api.html#table","CONTRIBUTING.html#contributing","CONTRIBUTING.html#your-first-contribution","CONTRIBUTING.html#workflow","CONTRIBUTING.html#git-branches","CONTRIBUTING.html#github-pu [...]
\ No newline at end of file
+{"doc_urls":["introduction.html#iceberg-rust","install.html#install","download.html#apache-iceberg-rust-downloads","download.html#releases","download.html#notes","download.html#to-verify-the-signature-of-the-release-artifact","download.html#to-verify-the-checksum-of-the-release-artifact","api.html#catalog","api.html#table","CONTRIBUTING.html#contributing","CONTRIBUTING.html#your-first-contribution","CONTRIBUTING.html#workflow","CONTRIBUTING.html#git-branches","CONTRIBUTING.html#github-pu [...]
\ No newline at end of file