diff --git a/crates/iceberg/src/catalog/mod.rs b/crates/iceberg/src/catalog/mod.rs index c59e6e4f0..9521cde20 100644 --- a/crates/iceberg/src/catalog/mod.rs +++ b/crates/iceberg/src/catalog/mod.rs @@ -268,6 +268,10 @@ pub struct TableCreation { } /// TableCommit represents the commit of a table in the catalog. +/// +/// The builder is marked as private since it's dangerous and error-prone to construct +/// [`TableCommit`] directly. +/// Users are supposed to use [`crate::transaction::Transaction`] to update table. #[derive(Debug, TypedBuilder)] #[builder(build_method(vis = "pub(crate)"))] pub struct TableCommit {