This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 7af8782e9 deploy: c64f9a79dc25fd4fdf76f4293ef22d3d1632d520
7af8782e9 is described below
commit 7af8782e9a17995c8823c84d53f101c05fe51584
Author: laskoviymishka <[email protected]>
AuthorDate: Sun Oct 25 20:03:41 2026 +0000
deploy: c64f9a79dc25fd4fdf76f4293ef22d3d1632d520
---
api.html | 3 ++-
getting-started.html | 5 ++++-
print.html | 8 ++++++--
searchindex.js | 2 +-
searchindex.json | 2 +-
5 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/api.html b/api.html
index f86a5c2d0..ff6ab48fc 100644
--- a/api.html
+++ b/api.html
@@ -511,7 +511,8 @@ if err :=
txn.SetProperties(iceberg.Properties{"commit.user": "da
newTbl, err := txn.Commit(ctx)
</code></pre>
<p>To target a specific branch:</p>
-<pre><code class="language-go">txn :=
tbl.NewTransactionOnBranch("staging")
+<pre><code class="language-go">txn, err :=
tbl.NewTransactionOnBranch("staging")
+if err != nil { /* ... */ }
</code></pre>
<p><code>Commit</code> retries automatically on conflict
(<code>ErrCommitFailed</code>) - tune via the <code>commit.retry.*</code> table
properties.</p>
<h2 id="schema-and-partition-evolution"><a class="header"
href="#schema-and-partition-evolution">Schema and partition evolution</a></h2>
diff --git a/getting-started.html b/getting-started.html
index 03e9ea596..5aba8863d 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -411,7 +411,10 @@ func createExperimentBranch(ctx context.Context, cat
*sqlcat.Catalog, tbl *table
// Step 2: open a transaction on the branch and write.
func writeOnBranch(ctx context.Context, tbl *table.Table, arrowTbl
arrow.Table) (*table.Table, error) {
- txn := tbl.NewTransactionOnBranch("experiment")
+ txn, err := tbl.NewTransactionOnBranch("experiment")
+ if err != nil {
+ return nil, err
+ }
if err := txn.AppendTable(ctx, arrowTbl, 1024, nil); err != nil {
return nil, err
}
diff --git a/print.html b/print.html
index 31b71eef3..553ecbd6b 100644
--- a/print.html
+++ b/print.html
@@ -485,7 +485,10 @@ func createExperimentBranch(ctx context.Context, cat
*sqlcat.Catalog, tbl *table
// Step 2: open a transaction on the branch and write.
func writeOnBranch(ctx context.Context, tbl *table.Table, arrowTbl
arrow.Table) (*table.Table, error) {
- txn := tbl.NewTransactionOnBranch("experiment")
+ txn, err := tbl.NewTransactionOnBranch("experiment")
+ if err != nil {
+ return nil, err
+ }
if err := txn.AppendTable(ctx, arrowTbl, 1024, nil); err != nil {
return nil, err
}
@@ -1462,7 +1465,8 @@ if err :=
txn.SetProperties(iceberg.Properties{"commit.user": "da
newTbl, err := txn.Commit(ctx)
</code></pre>
<p>To target a specific branch:</p>
-<pre><code class="language-go">txn :=
tbl.NewTransactionOnBranch("staging")
+<pre><code class="language-go">txn, err :=
tbl.NewTransactionOnBranch("staging")
+if err != nil { /* ... */ }
</code></pre>
<p><code>Commit</code> retries automatically on conflict
(<code>ErrCommitFailed</code>) - tune via the <code>commit.retry.*</code> table
properties.</p>
<h2 id="schema-and-partition-evolution"><a class="header"
href="#schema-and-partition-evolution">Schema and partition evolution</a></h2>
diff --git a/searchindex.js b/searchindex.js
index f727c413e..29d2167c9 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Object.assign(window.search,
{"doc_urls":["introduction.html#iceberg-go","introduction.html#where-to-start","introduction.html#what-works-today","introduction.html#beyond-go","introduction.html#help-and-contribution","install.html#install","install.html#requirements","install.html#installation","getting-started.html#getting-started","getting-started.html#1-install","getting-started.html#2-open-a-local-catalog","getting-started.html#3-create-a-namespace-and-a-table","getting-started.html#
[...]
\ No newline at end of file
+Object.assign(window.search,
{"doc_urls":["introduction.html#iceberg-go","introduction.html#where-to-start","introduction.html#what-works-today","introduction.html#beyond-go","introduction.html#help-and-contribution","install.html#install","install.html#requirements","install.html#installation","getting-started.html#getting-started","getting-started.html#1-install","getting-started.html#2-open-a-local-catalog","getting-started.html#3-create-a-namespace-and-a-table","getting-started.html#
[...]
\ No newline at end of file
diff --git a/searchindex.json b/searchindex.json
index 20492d052..cfd1b8c8f 100644
--- a/searchindex.json
+++ b/searchindex.json
@@ -1 +1 @@
-{"doc_urls":["introduction.html#iceberg-go","introduction.html#where-to-start","introduction.html#what-works-today","introduction.html#beyond-go","introduction.html#help-and-contribution","install.html#install","install.html#requirements","install.html#installation","getting-started.html#getting-started","getting-started.html#1-install","getting-started.html#2-open-a-local-catalog","getting-started.html#3-create-a-namespace-and-a-table","getting-started.html#4-write-some-arrow-data","get
[...]
\ No newline at end of file
+{"doc_urls":["introduction.html#iceberg-go","introduction.html#where-to-start","introduction.html#what-works-today","introduction.html#beyond-go","introduction.html#help-and-contribution","install.html#install","install.html#requirements","install.html#installation","getting-started.html#getting-started","getting-started.html#1-install","getting-started.html#2-open-a-local-catalog","getting-started.html#3-create-a-namespace-and-a-table","getting-started.html#4-write-some-arrow-data","get
[...]
\ No newline at end of file