File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ use std::iter;
33use std:: sync:: { Arc , LazyLock } ;
44use std:: time:: { SystemTime , UNIX_EPOCH } ;
55
6+ use delta_kernel_derive:: internal_api;
7+
68use crate :: actions:: { get_log_add_schema, get_log_commit_info_schema, get_log_txn_schema} ;
79use crate :: actions:: { CommitInfo , SetTransaction } ;
810use crate :: error:: Error ;
@@ -83,6 +85,8 @@ impl Transaction {
8385 /// Instead of using this API, the more typical (user-facing) API is
8486 /// [Snapshot::transaction](crate::snapshot::Snapshot::transaction) to create a transaction from
8587 /// a snapshot.
88+ /// Use this API only if you need to create a transaction from a specific snapshot.
89+ #[ internal_api]
8690 pub ( crate ) fn try_new ( snapshot : impl Into < Arc < Snapshot > > ) -> DeltaResult < Self > {
8791 let read_snapshot = snapshot. into ( ) ;
8892
You can’t perform that action at this time.
0 commit comments