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 a7de39396 deploy: 362f47eb0e3d73fa405a2633a82f91fb72c52e59
a7de39396 is described below

commit a7de393967957f83869ba9f37de91cc2bf9c16b9
Author: zeroshade <[email protected]>
AuthorDate: Tue Oct 27 00:50:28 2026 +0000

    deploy: 362f47eb0e3d73fa405a2633a82f91fb72c52e59
---
 api.html         | 2 +-
 print.html       | 8 +++++++-
 releases.html    | 6 ++++++
 searchindex.js   | 2 +-
 searchindex.json | 2 +-
 5 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/api.html b/api.html
index e75a870e4..d25ee987e 100644
--- a/api.html
+++ b/api.html
@@ -638,7 +638,7 @@ v, err := view.CreateView(
     &quot;my-catalog&quot;,
     table.Identifier{&quot;analytics&quot;, &quot;monthly_orders&quot;},
     schema,
-    &quot;SELECT month, sum(amount) FROM orders GROUP BY month&quot;,
+    view.Representation{SQL: &quot;SELECT month, sum(amount) FROM orders GROUP 
BY month&quot;, Dialect: &quot;spark&quot;},
     table.Identifier{&quot;sales&quot;},                      // default 
namespace for unqualified names
     &quot;s3://my-bucket/views/monthly_orders&quot;,
     iceberg.Properties{},
diff --git a/print.html b/print.html
index 786f64dee..25d5316e5 100644
--- a/print.html
+++ b/print.html
@@ -1592,7 +1592,7 @@ v, err := view.CreateView(
     &quot;my-catalog&quot;,
     table.Identifier{&quot;analytics&quot;, &quot;monthly_orders&quot;},
     schema,
-    &quot;SELECT month, sum(amount) FROM orders GROUP BY month&quot;,
+    view.Representation{SQL: &quot;SELECT month, sum(amount) FROM orders GROUP 
BY month&quot;, Dialect: &quot;spark&quot;},
     table.Identifier{&quot;sales&quot;},                      // default 
namespace for unqualified names
     &quot;s3://my-bucket/views/monthly_orders&quot;,
     iceberg.Properties{},
@@ -2599,6 +2599,12 @@ make integration-external-rest
 <h3 id="unreleased-compatibility-notes"><a class="header" 
href="#unreleased-compatibility-notes">Unreleased compatibility notes</a></h3>
 <ul>
 <li>
+<p><strong>View creation APIs take a named SQL representation.</strong> 
<code>view.NewVersionFromSQL</code>, <code>view.CreateView</code>, 
<code>view.CreateViewWithIOProperties</code>, and 
<code>sql.Catalog.CreateView</code> now accept a <code>view.Representation{SQL: 
sql, Dialect: dialect}</code> instead of positional SQL/dialect strings. The 
dialect is required; Hive preserves the selected representation's dialect.</p>
+</li>
+<li>
+<p><strong>View SQL representation construction uses named fields.</strong> 
Replace <code>view.NewRepresentation(sql, dialect)</code> with 
<code>view.NewRepresentation(view.Representation{SQL: sql, Dialect: 
dialect})</code>. Serialized JSON is unchanged.</p>
+</li>
+<li>
 <p><strong>Reserved table properties now use a read-only API.</strong> Replace 
references to <code>table.ReservedProperties</code> with 
<code>table.ReservedProperties()</code>. The function returns a fresh slice, so 
callers cannot change metadata validation by modifying it.</p>
 </li>
 <li>
diff --git a/releases.html b/releases.html
index 6184d344d..b41322814 100644
--- a/releases.html
+++ b/releases.html
@@ -249,6 +249,12 @@
 <h3 id="unreleased-compatibility-notes"><a class="header" 
href="#unreleased-compatibility-notes">Unreleased compatibility notes</a></h3>
 <ul>
 <li>
+<p><strong>View creation APIs take a named SQL representation.</strong> 
<code>view.NewVersionFromSQL</code>, <code>view.CreateView</code>, 
<code>view.CreateViewWithIOProperties</code>, and 
<code>sql.Catalog.CreateView</code> now accept a <code>view.Representation{SQL: 
sql, Dialect: dialect}</code> instead of positional SQL/dialect strings. The 
dialect is required; Hive preserves the selected representation's dialect.</p>
+</li>
+<li>
+<p><strong>View SQL representation construction uses named fields.</strong> 
Replace <code>view.NewRepresentation(sql, dialect)</code> with 
<code>view.NewRepresentation(view.Representation{SQL: sql, Dialect: 
dialect})</code>. Serialized JSON is unchanged.</p>
+</li>
+<li>
 <p><strong>Reserved table properties now use a read-only API.</strong> Replace 
references to <code>table.ReservedProperties</code> with 
<code>table.ReservedProperties()</code>. The function returns a fresh slice, so 
callers cannot change metadata validation by modifying it.</p>
 </li>
 <li>
diff --git a/searchindex.js b/searchindex.js
index 76415e6bf..0611cd845 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 9cb3a10fc..6c5ba2635 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

Reply via email to