You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by gi...@apache.org on 2026/02/11 05:44:28 UTC
(amoro) branch asf-site updated: Regenerated Amoro latest docs page based on e3671b52890eed298901eef44a606e6a93e96e7b commit
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/asf-site by this push:
new bc303f4ec Regenerated Amoro latest docs page based on e3671b52890eed298901eef44a606e6a93e96e7b commit
bc303f4ec is described below
commit bc303f4eccdf37406b43f854c995aa0166087d7b
Author: GitHub Actions <ac...@users.noreply.github.com>
AuthorDate: Wed Feb 11 05:44:24 2026 +0000
Regenerated Amoro latest docs page based on e3671b52890eed298901eef44a606e6a93e96e7b commit
---
output/docs/latest/ams-config/index.html | 10 +++++
output/docs/latest/catalogs/index.html | 2 +-
.../latest/deployment-on-kubernetes/index.html | 34 ++++++++---------
output/docs/latest/deployment/index.html | 26 ++++++-------
output/docs/latest/flink-cdc-ingestion/index.html | 8 ++--
output/docs/latest/flink-datastream/index.html | 12 +++---
output/docs/latest/flink-ddl/index.html | 26 ++++++-------
output/docs/latest/flink-dml/index.html | 22 +++++------
.../docs/latest/flink-getting-started/index.html | 8 ++--
output/docs/latest/flink-using-logstore/index.html | 6 +--
output/docs/latest/index.html | 2 +-
output/docs/latest/managing-optimizers/index.html | 18 ++++-----
output/docs/latest/mixed-iceberg-format/index.html | 4 +-
output/docs/latest/rest-api/index.html | 2 +-
output/docs/latest/search.json | 2 +-
output/docs/latest/self-optimizing/index.html | 8 ++--
output/docs/latest/spark-configuration/index.html | 12 +++---
output/docs/latest/spark-ddl/index.html | 44 +++++++++++-----------
.../docs/latest/spark-getting-started/index.html | 2 +-
output/docs/latest/spark-queries/index.html | 8 ++--
output/docs/latest/spark-writes/index.html | 28 +++++++-------
output/docs/latest/table-watermark/index.html | 6 +--
output/docs/latest/trino/index.html | 12 +++---
.../using-customized-encryption-method/index.html | 14 +++----
output/docs/latest/using-kyuubi/index.html | 4 +-
output/docs/latest/using-tables/index.html | 26 ++++++-------
26 files changed, 178 insertions(+), 168 deletions(-)
diff --git a/output/docs/latest/ams-config/index.html b/output/docs/latest/ams-config/index.html
index f70855790..ebd540959 100644
--- a/output/docs/latest/ams-config/index.html
+++ b/output/docs/latest/ams-config/index.html
@@ -691,6 +691,11 @@ table td:last-child, table th:last-child { width: 40%; word-break: break-all; }
<td>true</td>
<td>Enable dangling delete files cleaning.</td>
</tr>
+ <tr>
+ <td>clean-dangling-delete-files.interval</td>
+ <td>1 d</td>
+ <td>Interval for cleaning dangling delete files.</td>
+ </tr>
<tr>
<td>clean-dangling-delete-files.thread-count</td>
<td>10</td>
@@ -776,6 +781,11 @@ table td:last-child, table th:last-child { width: 40%; word-break: break-all; }
<td>true</td>
<td>Enable snapshots expiring.</td>
</tr>
+ <tr>
+ <td>expire-snapshots.interval</td>
+ <td>1 h</td>
+ <td>Interval for expiring snapshots.</td>
+ </tr>
<tr>
<td>expire-snapshots.thread-count</td>
<td>10</td>
diff --git a/output/docs/latest/catalogs/index.html b/output/docs/latest/catalogs/index.html
index 28b5bec9a..8c6f70ecb 100644
--- a/output/docs/latest/catalogs/index.html
+++ b/output/docs/latest/catalogs/index.html
@@ -635,7 +635,7 @@
<p>A catalog is a metadata namespace that stores information about databases, tables, views, indexes, users, and UDFs. It provides a higher-level
namespace for <code>table</code> and <code>database</code>. Typically, a catalog is associated with a specific type of data source or cluster. In Flink, Spark and Trino,
the multi-catalog feature can be used to support SQL across data sources, such as:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#66d9ef">c</span>.ID, <span style="color:#66d9ef">c</span>.NAME, <span style="color:#66d9ef">c</span>.AGE, o.AMOUNT
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#66d9ef">c</span>.ID, <span style="color:#66d9ef">c</span>.NAME, <span style="color:#66d9ef">c</span>.AGE, o.AMOUNT
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">FROM</span> <span style="color:#960050;background-color:#1e0010">${</span>CATALOG_A<span style="color:#960050;background-color:#1e0010">}</span>.ONLINE.CUSTOMERS <span style="color:#66d9ef">c</span> <span style="color:#66d9ef">JOIN</span> <span style="color:#960050;background-color:#1e0010">${</span>CATALOG_B<span style="color:#960050;background-color:#1e0010">}</span>.OFFLINE.ORDERS o
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ON</span> (<span style="color:#66d9ef">c</span>.ID <span style="color:#f92672">=</span> o.CUSTOMER_ID)
</span></span></code></pre></div><p>In the past, data lakes were managed using the Hive Metastore (HMS) to handle metadata. Unfortunately, HMS does not support multi-catalog, which
diff --git a/output/docs/latest/deployment-on-kubernetes/index.html b/output/docs/latest/deployment-on-kubernetes/index.html
index b2c152dd9..857dc65cd 100644
--- a/output/docs/latest/deployment-on-kubernetes/index.html
+++ b/output/docs/latest/deployment-on-kubernetes/index.html
@@ -650,44 +650,44 @@
<p>This is an image built based on the official version of Spark for deploying the Spark optimizer.</p>
<h2 id="build-ams-docker-image">Build AMS Docker Image</h2>
<p>If you want to build images locally, you can find the <code>build.sh</code> script in the docker folder of the project and pass the following command:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./docker/build.sh amoro
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./docker/build.sh amoro
</span></span></code></pre></div><p>or build the <code>amoro-flink-optimizer</code> image by:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./docker/build.sh amoro-flink-optimizer --flink-version <flink-version>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./docker/build.sh amoro-flink-optimizer --flink-version <flink-version>
</span></span></code></pre></div><p>or build the <code>amoro-spark-optimizer</code> image by:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./docker/build.sh amoro-spark-optimizer --spark-version <spark-version>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./docker/build.sh amoro-spark-optimizer --spark-version <spark-version>
</span></span></code></pre></div><h2 id="get-helm-charts">Get Helm Charts</h2>
<p>You can find the latest charts directly from the Github source code.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ git clone https://github.com/apache/amoro.git
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ git clone https://github.com/apache/amoro.git
</span></span><span style="display:flex;"><span>$ cd amoro/charts
</span></span><span style="display:flex;"><span>$ helm dependency build ./amoro
</span></span></code></pre></div><h2 id="install">Install</h2>
<p>When you are ready, you can use the following helm command to start</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ helm install <deployment-name> ./amoro
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ helm install <deployment-name> ./amoro
</span></span></code></pre></div><p>After successful installation, you can access WebUI through the following command.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ kubectl port-forward services/<deployment-name>-amoro-rest 1630:1630
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ kubectl port-forward services/<deployment-name>-amoro-rest 1630:1630
</span></span></code></pre></div><p>Open browser to go web: http://localhost:1630</p>
<h2 id="access-logs">Access logs</h2>
<p>Then, use pod name to get logs:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ kubectl get pod
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ kubectl get pod
</span></span><span style="display:flex;"><span>$ kubectl logs <span style="color:#f92672">{</span>amoro-pod-name<span style="color:#f92672">}</span>
</span></span></code></pre></div><h2 id="uninstall">Uninstall</h2>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ helm uninstall <deployment-name>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ helm uninstall <deployment-name>
</span></span></code></pre></div><h2 id="configuring-helm-application">Configuring Helm application.</h2>
<p>Helm uses <code><chart>/values.yaml</code> files as configuration files, and you can also copy this file for separate maintenance.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ cp amoro/values.yaml my-values.yaml
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ cp amoro/values.yaml my-values.yaml
</span></span><span style="display:flex;"><span>$ vim my-values.yaml
</span></span></code></pre></div><p>And deploy Helm applications using independent configuration files.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ helm install <deployment-name> ./amoro -f my-values.yaml
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ helm install <deployment-name> ./amoro -f my-values.yaml
</span></span></code></pre></div><h3 id="enable-ingress">Enable Ingress</h3>
<p>Ingress is not enabled by default. In production environments, it is recommended to enable Ingress to access the AMS Dashboard from outside the cluster.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ingress</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ingress</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">enabled</span>: <span style="color:#66d9ef">true</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">ingressClassName</span>: <span style="color:#e6db74">"nginx"</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">hostname</span>: <span style="color:#ae81ff">minikube.amoro.com</span>
</span></span></code></pre></div><h3 id="configure-the-database">Configure the database.</h3>
<p>AMS uses embedded <a href="https://db.apache.org/derby/">Apache Derby</a> as its backend storage by default.
In production environments, we recommend using a RDBMS(Relational Database Management System) with higher availability guarantees as the storage for system data, you can ref to <a href="../deployment/#configure-system-database">Database Configuration</a> for more detail.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">amoroConf</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">amoroConf</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">database</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">type</span>: <span style="color:#ae81ff">${your_database_type}</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">driver</span>: <span style="color:#ae81ff">${your_database_driver}</span>
@@ -697,7 +697,7 @@ In production environments, we recommend using a RDBMS(Relational Database Manag
</span></span></code></pre></div><h3 id="configure-the-images">Configure the Images</h3>
<p>Helm charts deploy images by default using the latest tag.
If you need to modify the image address, such as using a private repository or building your own image</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">image</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">image</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">repository</span>: <span style="color:#ae81ff"><your repository></span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">pullPolicy</span>: <span style="color:#ae81ff">IfNotPresent</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">tag</span>: <span style="color:#ae81ff"><your tag></span>
@@ -705,7 +705,7 @@ If you need to modify the image address, such as using a private repository or b
</span></span></code></pre></div><h3 id="configure-the-flink-optimizer-container">Configure the Flink Optimizer Container</h3>
<p>By default, the Flink Optimizer Container is enabled.
You can modify the container configuration by changing the <code>optimizer.flink</code> section.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">optimizer</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">optimizer</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">flink</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">enabled</span>: <span style="color:#66d9ef">true</span>
</span></span><span style="display:flex;"><span> <span style="color:#75715e">## container name, default is flink</span>
@@ -726,7 +726,7 @@ You can modify the container configuration by changing the <code>optimizer.flink
</span></span></code></pre></div><h3 id="configure-the-kubernetes-optimizer-container">Configure the Kubernetes Optimizer Container</h3>
<p>By default, the Kubernetes Optimizer Container is enabled.
You can modify the container configuration by changing the <code>optimizer.Kubernetes</code> section.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">optimizer</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">optimizer</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">kubernetes</span>:
</span></span><span style="display:flex;"><span> <span style="color:#75715e"># enable the kubernetes optimizer container</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">enabled</span>: <span style="color:#66d9ef">true</span>
@@ -740,7 +740,7 @@ You can modify the container configuration by changing the <code>optimizer.Kuber
</span></span></code></pre></div><p>To use PodTemplate, you need to copy and paste the following into the <code>kubernetes.properties</code>.</p>
<p>This is the default podTemplate, and when the user doesn’t specify any additional parameters, the default is to use the template’s parameters</p>
<p>Therefore, there will be a priority issue that needs to be elaborated: <em>Resource(WebUi) > Independent User Profile Configuration > PodTemplate</em></p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">podTemplate</span>: |<span style="color:#e6db74">
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">podTemplate</span>: |<span style="color:#e6db74">
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> apiVersion: apps/v1
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> kind: PodTemplate
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> metadata:
@@ -767,7 +767,7 @@ You can modify the container configuration by changing the <code>optimizer.Kuber
</span></span></code></pre></div><h3 id="configure-the-rbac">Configure the RBAC</h3>
<p>By default, Helm Chart creates a service account, role, and role bind for Amoro deploy.
You can also modify this configuration to use an existing account.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#75715e"># ServiceAccount of Amoro to schedule optimizer.</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#75715e"># ServiceAccount of Amoro to schedule optimizer.</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">serviceAccount</span>:
</span></span><span style="display:flex;"><span> <span style="color:#75715e"># Specifies whether a service account should be created or using an existed account</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">create</span>: <span style="color:#66d9ef">true</span>
diff --git a/output/docs/latest/deployment/index.html b/output/docs/latest/deployment/index.html
index 9e6d5aed5..6081857fc 100644
--- a/output/docs/latest/deployment/index.html
+++ b/output/docs/latest/deployment/index.html
@@ -644,7 +644,7 @@ You can download apache-amoro-x.y.z-bin.tar.gz (x.y.z is the release number), an
Unzip it to create the amoro-x.y.z directory in the same directory, and then go to the amoro-x.y.z directory.</p>
<h2 id="source-code-compilation">Source code compilation</h2>
<p>You can build based on the master branch without compiling Trino. The compilation method and the directory of results are described below:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ git clone https://github.com/apache/amoro.git
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ git clone https://github.com/apache/amoro.git
</span></span><span style="display:flex;"><span>$ cd amoro
</span></span><span style="display:flex;"><span>$ base_dir<span style="color:#f92672">=</span><span style="color:#66d9ef">$(</span>pwd<span style="color:#66d9ef">)</span>
</span></span><span style="display:flex;"><span>$ ./mvnw clean package -DskipTests
@@ -674,7 +674,7 @@ Unzip it to create the amoro-x.y.z directory in the same directory, and then go
<li>The <code>ams.http-server.auth-jwt-provider</code> configuration specifies the REST API JWT authentication provider. Set this to the fully qualified class name of your custom provider implementing the <code>org.apache.amoro.authentication.TokenAuthenticationProvider</code> interface. This is required when <code>ams.http-server.rest-auth-type</code> is set to <code>jwt</code>.</li>
<li>The <code>ams.http-server.proxy-client-ip-header</code> configuration specifies the HTTP header to use for extracting the real client IP address when AMS is deployed behind a reverse proxy (such as Nginx or a load balancer). Common values include <code>X-Forwarded-For</code> or <code>X-Real-IP</code>. If not set, AMS will use the remote address from the connection.</li>
</ul>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">server-bind-host</span>: <span style="color:#e6db74">"0.0.0.0"</span> <span style="color:#75715e">#The IP address for service listening, default is 0.0.0.0.</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">server-expose-host</span>: <span style="color:#e6db74">"127.0.0.1"</span> <span style="color:#75715e">#The IP address for service external exposure, default is 127.0.0.1.</span>
</span></span><span style="display:flex;"><span>
@@ -699,7 +699,7 @@ and move it into the <code>${AMORO_HOME}/lib/</code> directory.</p>
</blockquote>
<p>You need to create an empty database in the RDBMS before to start the server, then AMS will automatically create tables in the database when it first started.</p>
<p>One thing you need to do is adding configuration under <code>config.yaml</code> of Ams:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">database</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">type</span>: <span style="color:#ae81ff">${database_type}</span> <span style="color:#75715e"># postgres or mysql</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">jdbc-driver-class</span>: <span style="color:#ae81ff">${your_driver_name}</span>
@@ -711,7 +711,7 @@ and move it into the <code>${AMORO_HOME}/lib/</code> directory.</p>
<p>To improve stability, AMS supports a one-master-multi-backup HA mode. Zookeeper is used to implement leader election,
and the AMS cluster name and Zookeeper address are specified. The AMS cluster name is used to bind different AMS clusters
on the same Zookeeper cluster to avoid mutual interference.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">ha</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">enabled</span>: <span style="color:#66d9ef">true</span> <span style="color:#75715e">#Enable HA</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">cluster-name</span>: <span style="color:#ae81ff">default</span> <span style="color:#75715e"># Differentiating binding multiple sets of AMS on the same ZooKeeper.</span>
@@ -720,7 +720,7 @@ on the same Zookeeper cluster to avoid mutual interference.</p>
<p>To scale out the optimizer through AMS, container configuration is required.
If you choose to manually start an external optimizer, no additional container configuration is required. AMS will initialize a container named <code>external</code> by default to store all externally started optimizers.
AMS provides implementations of <code>LocalContainer</code> and <code>FlinkContainer</code> by default. Configuration for both container types can be found below:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">localContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.LocalOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -750,7 +750,7 @@ AMS provides implementations of <code>LocalContainer</code> and <code>FlinkConta
<p>The Terminal module in the AMS Dashboard allows users to execute SQL directly on the platform. Currently, the Terminal backend supports two implementations: <code>local</code> and <code>kyuubi</code>.
In local mode, an embedded Spark environment will be started in AMS. In kyuubi mode, an additional kyuubi service needs to be deployed.
The configuration for kyuubi mode can refer to: <a href="../using-kyuubi/">Using Kyuubi with Terminal</a>. Below is the configuration for the local mode:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">terminal</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">backend</span>: <span style="color:#ae81ff">local</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">local.spark.sql.iceberg.handle-timestamp-without-timezone</span>: <span style="color:#66d9ef">false</span>
@@ -797,7 +797,7 @@ The configuration for kyuubi mode can refer to: <a href="../using-kyuubi/">Using
<p>Amoro provides metric reporters by plugin mechanism to connect to external metric systems.</p>
<p>All metric-reporter plugins are configured in <code>$AMORO_CONF_DIR/plugins/metric-repoters.yaml</code> .</p>
<p>The configuration format of the plug-in is:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">metric-reporters</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#75715e"># the unified plugin name.</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">enabled</span>: <span style="color:#75715e"># if this plugin is enabled, default is true.</span>
@@ -805,13 +805,13 @@ The configuration for kyuubi mode can refer to: <a href="../using-kyuubi/">Using
</span></span></code></pre></div><p>Currently, there is only one reporter is available.</p>
<h4 id="prometheus-exporter">Prometheus Exporter</h4>
<p>By enable the <code>prometheus-exporter</code> plugin, the AMS will start a prometheus http exporter server.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">metric-reporters</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">metric-reporters</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">prometheus-exporter </span> <span style="color:#75715e"># configs for prometheus exporter</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">enabled</span>: <span style="color:#66d9ef">true</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">port</span>: <span style="color:#ae81ff">9090</span> <span style="color:#75715e"># the port that the prometheus-exporter listens on.</span>
</span></span></code></pre></div><p>You can add a scrape job in your prometheus configs</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#75715e"># Your prometheus configs file.</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#75715e"># Your prometheus configs file.</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">scrape_configs</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">job_name</span>: <span style="color:#e6db74">'amoro-exporter'</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">scrape_interval</span>: <span style="color:#ae81ff">15s</span>
@@ -826,7 +826,7 @@ Currently, AMS provides built-in support for base64 decryption, and users can al
<li>The <code>ams.shade.sensitive-keywords</code> configuration specifies which configuration items under <code>ams</code> are encrypted. The default value is <code>admin-password;database.password</code>, and multiple keywords should be separated by semicolons (<code>;</code>). The values of these items must be replaced with their encrypted counterparts.</li>
</ul>
<p>Example Configuration (Partial):</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">admin-username</span>: <span style="color:#ae81ff">admin</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">admin-password</span>: <span style="color:#ae81ff">YWRtaW4= </span> <span style="color:#75715e"># Ciphertext for "admin"</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">server-bind-host</span>: <span style="color:#e6db74">"0.0.0.0"</span>
@@ -902,12 +902,12 @@ you can set up those environments to overwrite the default value.</p>
</table>
<h2 id="start-ams">Start AMS</h2>
<p>Enter the directory amoro-x.y.z and execute bin/ams.sh start to start AMS.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ cd amoro-x.y.z
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ cd amoro-x.y.z
</span></span><span style="display:flex;"><span>$ bin/ams.sh start
</span></span></code></pre></div><p>Then, access http://localhost:1630 through a browser to see the login page. If it appears, it means that the startup is
successful. The default username and password for login are both “admin”.</p>
<p>You can also restart/stop AMS with the following command:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ bin/ams.sh restart
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>$ bin/ams.sh restart
</span></span><span style="display:flex;"><span>$ bin/ams.sh stop
</span></span></code></pre></div><h2 id="upgrade-ams">Upgrade AMS</h2>
<h3 id="upgrade-system-databases">Upgrade system databases</h3>
@@ -923,7 +923,7 @@ Replace all contents in the original <code>{AMORO_HOME}/plugin</code> directory
<p>The old configuration file <code>{AMORO_HOME}/conf/config.yaml</code> is usually compatible with the new version, but the new version may introduce new parameters. Try to compare the configuration files of the old and new versions, and reconfigure the parameters if necessary.</p>
<h3 id="restart-ams">Restart AMS</h3>
<p>Restart AMS with the following commands:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>bin/ams.sh restart
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>bin/ams.sh restart
</span></span></code></pre></div></div>
diff --git a/output/docs/latest/flink-cdc-ingestion/index.html b/output/docs/latest/flink-cdc-ingestion/index.html
index 471ff4026..2f7e863e8 100644
--- a/output/docs/latest/flink-cdc-ingestion/index.html
+++ b/output/docs/latest/flink-cdc-ingestion/index.html
@@ -638,7 +638,7 @@
<p>The following example will show how <a href="https://nightlies.apache.org/flink/flink-cdc-docs-release-3.1/docs/">MySQL CDC</a> data is written to an Iceberg table.</p>
<p><strong>Requirements</strong></p>
<p>Please add <a href="https://mvnrepository.com/artifact/org.apache.flink/flink-connector-mysql-cdc">Flink SQL Connector MySQL CDC</a> and <a href="https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-flink-1.18/1.6.0/iceberg-flink-1.18-1.6.0.jar">Iceberg</a> Jars to the lib directory of the Flink engine package.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> products (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> products (
</span></span><span style="display:flex;"><span> id INT,
</span></span><span style="display:flex;"><span> name STRING,
</span></span><span style="display:flex;"><span> description STRING,
@@ -672,7 +672,7 @@
<p>The following example will show how MySQL CDC data is written to a Mixed-Iceberg table.</p>
<p><strong>Requirements</strong></p>
<p>Please add <a href="https://mvnrepository.com/artifact/org.apache.flink/flink-connector-mysql-cdc/3.1.1">Flink SQL Connector MySQL CDC</a> and <a href="../../../download/">Amoro</a> Jars to the lib directory of the Flink engine package.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> products (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> products (
</span></span><span style="display:flex;"><span> id INT,
</span></span><span style="display:flex;"><span> name STRING,
</span></span><span style="display:flex;"><span> description STRING,
@@ -707,7 +707,7 @@
<p>Please add <a href="https://mvnrepository.com/artifact/org.apache.flink/flink-connector-mysql-cdc/3.1.1">Flink Connector MySQL CDC</a>
and <a href="https://mvnrepository.com/artifact/org.apache.iceberg/iceberg-flink-1.18/1.6.0">Iceberg</a> dependencies to your
Maven project’s pom.xml file.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import static</span> java.util.stream.Collectors.toMap;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import static</span> java.util.stream.Collectors.toMap;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import static</span> org.apache.flink.cdc.connectors.mysql.table.MySqlReadableMetadata.DATABASE_NAME;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import static</span> org.apache.flink.cdc.connectors.mysql.table.MySqlReadableMetadata.TABLE_NAME;
</span></span><span style="display:flex;"><span>
@@ -927,7 +927,7 @@ Maven project’s pom.xml file.</p>
<p>The following example will show how to write CDC data from multiple MySQL tables into the corresponding Mixed-Iceberg table.</p>
<p><strong>Requirements</strong></p>
<p>Please add <a href="https://mvnrepository.com/artifact/org.apache.flink/flink-connector-mysql-cdc/3.1.1">Flink Connector MySQL CDC</a> and <a href="https://mvnrepository.com/artifact/org.apache.amoro/amoro-format-mixed-flink-1.17/0.7.0-incubating">Amoro</a> dependencies to your Maven project’s pom.xml file.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.MixedFormatTableLoader;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.util.MixedFormatUtils;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.write.FlinkSink;
diff --git a/output/docs/latest/flink-datastream/index.html b/output/docs/latest/flink-datastream/index.html
index 20368f41d..002426541 100644
--- a/output/docs/latest/flink-datastream/index.html
+++ b/output/docs/latest/flink-datastream/index.html
@@ -633,7 +633,7 @@
<h1 id="flink-datastream">Flink DataStream</h1>
<h2 id="add-maven-dependency">Add maven dependency</h2>
<p>To add a dependency on Mixed-format flink connector in Maven, add the following to your pom.xml:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#f92672"><dependencies></span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#f92672"><dependencies></span>
</span></span><span style="display:flex;"><span> ...
</span></span><span style="display:flex;"><span> <span style="color:#f92672"><dependency></span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672"><groupId></span>org.apache.amoro<span style="color:#f92672"></groupId></span>
@@ -652,7 +652,7 @@
<li>Non-primary key tables support reading full data in batch mode, snapshot data with a specified snapshot-id or timestamp, and incremental data with a specified snapshot interval.</li>
<li>The primary key table temporarily only supports reading the current full amount and later CDC data.</li>
</ul>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.FlinkSource;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.MixedFormatTableLoader;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.table.TableIdentifier;
@@ -744,7 +744,7 @@
<h3 id="streaming-mode">Streaming mode</h3>
<p>Amoro supports reading incremental data in FileStore or LogStore through Java API in Streaming mode</p>
<h3 id="streaming-mode-logstore">Streaming mode (LogStore)</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.read.source.log.kafka.LogKafkaSource;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.MixedFormatTableLoader;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.util.MixedFormatUtils;
@@ -789,7 +789,7 @@
</span></span><span style="display:flex;"><span> }
</span></span><span style="display:flex;"><span>}
</span></span></code></pre></div><h3 id="streaming-mode-filestore">Streaming mode (FileStore)</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.FlinkSource;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.MixedFormatTableLoader;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.table.TableIdentifier;
@@ -835,7 +835,7 @@
<p>Amoro table supports writing data to LogStore or FileStore through Java API</p>
<h3 id="overwrite-data">Overwrite data</h3>
<p>Amoro table currently Only supports the existing data in the dynamic Overwrite table of the non-primary key table</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.MixedFormatTableLoader;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.write.FlinkSink;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.table.TableIdentifier;
@@ -879,7 +879,7 @@
</span></span><span style="display:flex;"><span>}
</span></span></code></pre></div><h3 id="appending-data">Appending data</h3>
<p>For the Amoro table, it supports specifying to write data to FileStore or LogStore through Java API.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.InternalCatalogBuilder;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.table.MixedFormatTableLoader;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.util.MixedFormatUtils;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.flink.write.FlinkSink;
diff --git a/output/docs/latest/flink-ddl/index.html b/output/docs/latest/flink-ddl/index.html
index 5b653bc35..0d719db06 100644
--- a/output/docs/latest/flink-ddl/index.html
+++ b/output/docs/latest/flink-ddl/index.html
@@ -634,7 +634,7 @@
<h2 id="create-catalogs">Create catalogs</h2>
<h3 id="flink-sql">Flink SQL</h3>
<p>The following statement can be executed to create a Flink catalog:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">CATALOG</span> <span style="color:#f92672"><</span><span style="color:#66d9ef">catalog_name</span><span style="color:#f92672">></span> <span style="color:#66d9ef">WITH</span> (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">CATALOG</span> <span style="color:#f92672"><</span><span style="color:#66d9ef">catalog_name</span><span style="color:#f92672">></span> <span style="color:#66d9ef">WITH</span> (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'type'</span><span style="color:#f92672">=</span><span style="color:#e6db74">'mixed_iceberg'</span>,
</span></span><span style="display:flex;"><span> <span style="color:#f92672">`<</span>config_key<span style="color:#f92672">>`=`<</span>config_value<span style="color:#f92672">>`</span>
</span></span><span style="display:flex;"><span>);
@@ -747,7 +747,7 @@ or specify the authentication information and configuration file paths when crea
<h3 id="yaml-configuration">YAML configuration</h3>
<p>Refer to the Flink SQL Client <a href="https://nightlies.apache.org/flink/flink-docs-release-1.12/dev/table/sqlClient.html#environment-files">official configuration</a>.
Modify the <code>conf/sql-client-defaults.yaml</code> file in the Flink directory.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">catalogs</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">catalogs</span>:
</span></span><span style="display:flex;"><span>- <span style="color:#f92672">name</span>: <span style="color:#ae81ff"><catalog_name></span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">type</span>: <span style="color:#ae81ff">mixed_iceberg</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">ams.uri</span>: <span style="color:#ae81ff">...</span>
@@ -755,11 +755,11 @@ Modify the <code>conf/sql-client-defaults.yaml</code> file in the Flink director
</span></span></code></pre></div><h2 id="create-statement">CREATE statement</h2>
<h3 id="create-database">CREATE DATABASE</h3>
<p>By default, the default-database configuration (default value: default) when creating catalog is used. You can create a database using the following example:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">DATABASE</span> [<span style="color:#66d9ef">catalog_name</span>.]mixed_db;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">DATABASE</span> [<span style="color:#66d9ef">catalog_name</span>.]mixed_db;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>USE mixed_db;
</span></span></code></pre></div><h3 id="create-table">CREATE TABLE</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span [...]
</span></span><span style="display:flex;"><span> id BIGINT,
</span></span><span style="display:flex;"><span> name STRING,
</span></span><span style="display:flex;"><span> op_time <span style="color:#66d9ef">TIMESTAMP</span>,
@@ -780,7 +780,7 @@ Modify the <code>conf/sql-client-defaults.yaml</code> file in the Flink director
</ul>
<h4 id="partitioned-by">PARTITIONED BY</h4>
<p>Create a partitioned table using PARTITIONED BY.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span><span style="color:#66d9ef">new</span><span style="color:#f92672">`</span>.<span [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span><span style="color:#66d9ef">new</span><span style= [...]
</span></span><span style="display:flex;"><span> id BIGINT,
</span></span><span style="display:flex;"><span> name STRING,
</span></span><span style="display:flex;"><span> op_time <span style="color:#66d9ef">TIMESTAMP</span>
@@ -789,7 +789,7 @@ Modify the <code>conf/sql-client-defaults.yaml</code> file in the Flink director
</span></span><span style="display:flex;"><span>);
</span></span></code></pre></div><p>Amoro tables support hidden partitions, but Flink does not support function-based partitions. Therefore, currently only partitions with the same value can be created through Flink SQL.</p>
<p>Alternatively, tables can be created without creating a Flink catalog:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>test_table<span style="color:#f92672">`</span> (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>test_table<span style="color:#f92672">`</span> (
</span></span><span style="display:flex;"><span> id BIGINT,
</span></span><span style="display:flex;"><span> name STRING,
</span></span><span style="display:flex;"><span> op_time <span style="color:#66d9ef">TIMESTAMP</span>,
@@ -805,7 +805,7 @@ Modify the <code>conf/sql-client-defaults.yaml</code> file in the Flink director
</span></span></code></pre></div><p>where <code><ams.uri></code> is the URI of the Amoro Metastore, and <code>mixed_format.catalog</code>, <code>mixed_format.database</code> and <code>mixed_format.table</code> are the catalog name, database name and table name of this table under the AMS, respectively.</p>
<h3 id="create-table-like">CREATE TABLE LIKE</h3>
<p>Create a table with the same table structure, partitions, and table properties as an existing table. This can be achieved using CREATE TABLE LIKE.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span [...]
</span></span><span style="display:flex;"><span> id BIGINT,
</span></span><span style="display:flex;"><span> name STRING,
</span></span><span style="display:flex;"><span> op_time <span style="color:#66d9ef">TIMESTAMP</span>
@@ -816,22 +816,22 @@ Modify the <code>conf/sql-client-defaults.yaml</code> file in the Flink director
</span></span></code></pre></div><p>Further details can be found in <a href="https://nightlies.apache.org/flink/flink-docs-release-1.12/dev/table/sql/create.html#like">Flink create table like</a></p>
<h2 id="drop-statement">DROP statement</h2>
<h3 id="drop-database">DROP DATABASE</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">DATABASE</span> <span style="color:#66d9ef">catalog_name</span>.mixed_db
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">DATABASE</span> <span style="color:#66d9ef">catalog_name</span>.mixed_db
</span></span></code></pre></div><h3 id="drop-table">DROP TABLE</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>t [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">TABLE</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span s [...]
</span></span></code></pre></div><h2 id="show-statement">SHOW statement</h2>
<h3 id="show-databases">SHOW DATABASES</h3>
<p>View all database names under the current catalog:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> DATABASES;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> DATABASES;
</span></span></code></pre></div><h3 id="show-tables">SHOW TABLES</h3>
<p>View all table names in the current database:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TABLES;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TABLES;
</span></span></code></pre></div><h3 id="show-create-table">SHOW CREATE TABLE</h3>
<p>View table details:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> <span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span>;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> <span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span>;
</span></span></code></pre></div><h2 id="desc-statement">DESC statement</h2>
<p>View table description:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DESC</span> <span style="color:#66d9ef">TABLE</span>;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DESC</span> <span style="color:#66d9ef">TABLE</span>;
</span></span></code></pre></div><h2 id="alter-statement">ALTER statement</h2>
<p>Not supported at the moment</p>
<h2 id="supported-types">Supported types</h2>
diff --git a/output/docs/latest/flink-dml/index.html b/output/docs/latest/flink-dml/index.html
index 12b8d688d..6d0a29335 100644
--- a/output/docs/latest/flink-dml/index.html
+++ b/output/docs/latest/flink-dml/index.html
@@ -633,7 +633,7 @@
<h1 id="flink-dml">Flink DML</h1>
<h2 id="querying-with-sql">Querying with SQL</h2>
<p>Amoro tables support reading data in stream or batch mode through Flink SQL. You can switch modes using the following methods:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> execution.runtime<span style="color:#f92672">-</span><span style="color:#66d9ef">mode</span> <span style="color:#f92672">=</span> streaming;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in batch mode in the current session
@@ -665,14 +665,14 @@
<p><strong>TIPS</strong></p>
<p>LogStore does not support bounded reading.</p>
</blockquote>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in batch mode in the current session
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in batch mode in the current session
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> execution.runtime<span style="color:#f92672">-</span><span style="color:#66d9ef">mode</span> <span style="color:#f92672">=</span> batch;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- Enable dynamic table parameter configuration to make hint options configured in Flink SQL effective
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> <span style="color:#66d9ef">table</span>.<span style="color:#66d9ef">dynamic</span><span style="color:#f92672">-</span><span style="color:#66d9ef">table</span><span style="color:#f92672">-</span><span style="color:#66d9ef">options</span>.enabled<span style="color:#f92672">=</span><span style="color:#66d9ef">true</span>;
</span></span></code></pre></div><h3 id="batch-mode-non-primary-key-table">Batch mode (non-primary key table)</h3>
<p>Non-primary key tables support reading full data in batch mode, specifying snapshot data with snapshot-id or timestamp, and specifying the incremental data of the snapshot interval.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Read full data
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Read full data
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> unkeyed <span style="color:#75715e">/*+ OPTIONS('streaming'='false')*/</span>;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- Read specified snapshot data
@@ -727,12 +727,12 @@
</tbody>
</table>
<h3 id="batch-mode-primary-key-table">Batch mode (primary key table)</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Merge on Read the current mixed-format table and return append-only data.
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Merge on Read the current mixed-format table and return append-only data.
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> keyed <span style="color:#75715e">/*+ OPTIONS('streaming'='false', 'scan.startup.mode'='earliest')*/</span>;
</span></span></code></pre></div><h3 id="streaming-mode">Streaming mode</h3>
<p>Amoro supports reading incremental data from FileStore or LogStore in streaming mode.</p>
<h3 id="streaming-mode-logstore">Streaming mode (LogStore)</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> execution.runtime<span style="color:#f92672">-</span><span style="color:#66d9ef">mode</span> <span style="color:#f92672">=</span> streaming;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- Enable dynamic table parameter configuration to make hint options configured in Flink SQL effective
@@ -817,7 +817,7 @@
</ul>
</blockquote>
<h3 id="streaming-mode-filestore-non-primary-key-table">Streaming mode (FileStore non-primary key table)</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> execution.runtime<span style="color:#f92672">-</span><span style="color:#66d9ef">mode</span> <span style="color:#f92672">=</span> streaming;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- Enable dynamic table parameter configuration to make hint options configured in Flink SQL effective
@@ -877,7 +877,7 @@
<h3 id="streaming-mode-filestore-primary-key-table">Streaming Mode (FileStore primary key table)</h3>
<p>After using CDC (Change Data Capture) to ingest data into the lake, you can use the Flink engine to read both stock data and incremental data in the same task without restarting the task, and ensure consistent data reading. Amoro Source will save the file offset information in the Flink state.</p>
<p>In this way, the task can continue to read data from the last read offset position, ensuring data consistency and being able to process newly arrived incremental data.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- Run Flink tasks in streaming mode in the current session
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> execution.runtime<span style="color:#f92672">-</span><span style="color:#66d9ef">mode</span> <span style="color:#f92672">=</span> streaming;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- Enable dynamic table parameter configuration to make hint options configured in Flink SQL effective
@@ -939,15 +939,15 @@
<h3 id="insert-overwrite">INSERT OVERWRITE</h3>
<p>Currently, INSERT OVERWRITE is only supported for non-primary key tables. It replaces the data in the table, and the overwrite operation is atomic. Partitions are dynamically generated from the query statement, and the data in these partitions will be fully replaced.</p>
<p>INSERT OVERWRITE only allows running in Flink Batch mode.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> OVERWRITE unkeyed <span style="color:#66d9ef">VALUES</span> (<span style="color:#ae81ff">1</span>, <span style="color:#e6db74">'a'</span>, <span style="color:#e6db74">'2022-07-01'</span>);
-</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- It is also possible to overwrite data for a specific partition:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> OVERWRITE unkeyed <span style="color:#66d9ef">VALUES</span> (<span style="color:#ae81ff">1</span>, <span style="color:#e6db74">'a'</span>, <span style="color:#e6db74">'2022-07-01'</span>);
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- It is also possible to overwrite data for a specific partition:
</span></span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> OVERWRITE <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>unkeyed<span style="color:#f92672">`</span> PARTITION(<span style="color:#66d9ef">data</span><span style="color:#f92672">=</span><span style="color:#e6db74">'2022-07-01'</span>) <sp [...]
</span></span></code></pre></div><p>For non-partitioned tables, INSERT OVERWRITE will overwrite the entire data in the table.</p>
<h3 id="insert-into">INSERT INTO</h3>
<p>For Amoro tables, it is possible to specify whether to write data to FileStore or LogStore.</p>
<p>For Amoro primary key tables, writing to FileStore will also write CDC data to the ChangeStore.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span> [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> <span style="color:#f92672">`</span>mixed_catalog<span style="color:#f92672">`</span>.<span style="color:#f92672">`</span>mixed_db<span style="color:#f92672">`</span>.<span [...]
</span></span><span style="display:flex;"><span> <span style="color:#75715e">/*+ OPTIONS('mixed-format.emit.mode'='log,file') */</span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> id, name <span style="color:#66d9ef">from</span> <span style="color:#f92672">`</span><span style="color:#66d9ef">source</span><span style="color:#f92672">`</span>;
</span></span></code></pre></div><p>Hint Options</p>
@@ -1030,7 +1030,7 @@
<h2 id="lookup-join-with-sql">Lookup join with SQL</h2>
<p>A Lookup Join is used to enrich a table with data that is queried from Amoro Table. The join requires one table to have a processing time attribute and the other table to be backed by a lookup source connector.</p>
<p>The following example shows the syntax to specify a lookup join.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- amoro flink connector and can be used for lookup joins
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- amoro flink connector and can be used for lookup joins
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TEMPORARY</span> <span style="color:#66d9ef">TABLE</span> Customers (
</span></span><span style="display:flex;"><span> id INT,
</span></span><span style="display:flex;"><span> name STRING,
diff --git a/output/docs/latest/flink-getting-started/index.html b/output/docs/latest/flink-getting-started/index.html
index 919ea6e13..d835c3a13 100644
--- a/output/docs/latest/flink-getting-started/index.html
+++ b/output/docs/latest/flink-getting-started/index.html
@@ -656,7 +656,7 @@ for more information.</p>
<p>The Flink Runtime Jar is located in the <code>amoro-format-mixed/amoro-format-mixed-flink/v1.15/amoro-format-mixed-flink-runtime-1.15/target</code> directory.</p>
<h2 id="environment-preparation">Environment preparation</h2>
<p>Download Flink and related dependencies, and download Flink 1.15/1.16/1.17 as needed. Taking Flink 1.15 as an example:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#75715e"># Replace version value with the latest Amoro version if needed</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#75715e"># Replace version value with the latest Amoro version if needed</span>
</span></span><span style="display:flex;"><span>AMORO_VERSION<span style="color:#f92672">=</span>0.8.0-incubating
</span></span><span style="display:flex;"><span>FLINK_VERSION<span style="color:#f92672">=</span>1.15.3
</span></span><span style="display:flex;"><span>FLINK_MAJOR_VERSION<span style="color:#f92672">=</span>1.15
@@ -681,15 +681,15 @@ for more information.</p>
</span></span><span style="display:flex;"><span>mv flink-shaded-hadoop-2-uber-<span style="color:#e6db74">${</span>FLINK_HADOOP_SHADE_VERSION<span style="color:#e6db74">}</span>-10.0.jar lib
</span></span><span style="display:flex;"><span>mv amoro-mixed-format-flink-runtime-<span style="color:#e6db74">${</span>FLINK_MAJOR_VERSION<span style="color:#e6db74">}</span>-<span style="color:#e6db74">${</span>AMORO_VERSION<span style="color:#e6db74">}</span>.jar lib
</span></span></code></pre></div><p>Modify Flink related configuration files:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>cd flink-1.15.3
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>cd flink-1.15.3
</span></span><span style="display:flex;"><span>vim conf/flink-conf.yaml
</span></span></code></pre></div><p>Modify the following settings:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#75715e"># Increase the number of slots to run two streaming tasks simultaneously</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#75715e"># Increase the number of slots to run two streaming tasks simultaneously</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">taskmanager.numberOfTaskSlots</span>: <span style="color:#ae81ff">4</span>
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Enable Checkpoint. Only when Checkpoint is enabled, the data written to the file is visible</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">execution.checkpointing.interval</span>: <span style="color:#ae81ff">10s</span>
</span></span></code></pre></div><p>Move the dependencies to the lib directory of Flink:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#75715e"># Used to create a socket connector for inputting CDC data via sockets. Not necessary for non-quickstart examples.</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#75715e"># Used to create a socket connector for inputting CDC data via sockets. Not necessary for non-quickstart examples.</span>
</span></span><span style="display:flex;"><span>cp examples/table/ChangelogSocketExample.jar lib
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>cp ../amoro-mixed-flink-runtime-<span style="color:#e6db74">${</span>FLINK_MAJOR_VERSION<span style="color:#e6db74">}</span>-<span style="color:#e6db74">${</span>AMORO_VERSION<span style="color:#e6db74">}</span>.jar lib
diff --git a/output/docs/latest/flink-using-logstore/index.html b/output/docs/latest/flink-using-logstore/index.html
index 631d87e7c..2881b2d2e 100644
--- a/output/docs/latest/flink-using-logstore/index.html
+++ b/output/docs/latest/flink-using-logstore/index.html
@@ -689,7 +689,7 @@
<ul>
<li>You can create a table after selecting a specific Catalog on the Amoro <a href="http://localhost:1630">Dashboard</a> - Terminal page</li>
</ul>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> db.log_table (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> db.log_table (
</span></span><span style="display:flex;"><span> id int,
</span></span><span style="display:flex;"><span> name string,
</span></span><span style="display:flex;"><span> ts <span style="color:#66d9ef">timestamp</span>,
@@ -703,7 +703,7 @@
</span></span></code></pre></div><ul>
<li>You can also use Flink SQL to create tables in Flink-SQL-Client</li>
</ul>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- First use the use catalog command to switch to the mixed-format catalog.
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- First use the use catalog command to switch to the mixed-format catalog.
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> db.log_table (
</span></span><span style="display:flex;"><span> id int,
</span></span><span style="display:flex;"><span> name string,
@@ -716,7 +716,7 @@
</span></span></code></pre></div><h3 id="double-write-logstore-and-filestore">Double write LogStore and FileStore</h3>
<p><img src="../../images/flink/double-write.png" alt="Introduce"></p>
<p>Amoro Connector writes data to LogStore and ChangeStore at the same time through double-write operations, without opening Kafka transactions to ensure data consistency between the two, because opening transactions will bring a few minutes of delay to downstream tasks (the specific delay time depends on upstream tasks checkpoint interval).</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> db.log_table <span style="color:#75715e">/*+ OPTIONS('mixed-format.emit.mode'='log') */</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> db.log_table <span style="color:#75715e">/*+ OPTIONS('mixed-format.emit.mode'='log') */</span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> id, name, ts <span style="color:#66d9ef">from</span> sourceTable;
</span></span></code></pre></div><blockquote>
<p>Currently, only the Apache Flink engine implements the dual-write LogStore and FileStore.</p>
diff --git a/output/docs/latest/index.html b/output/docs/latest/index.html
index 2bed326be..ae6387a74 100644
--- a/output/docs/latest/index.html
+++ b/output/docs/latest/index.html
@@ -32,7 +32,7 @@
<!DOCTYPE html>
<html>
<head>
- <meta name="generator" content="Hugo 0.154.5">
+ <meta name="generator" content="Hugo 0.155.3">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/output/docs/latest/managing-optimizers/index.html b/output/docs/latest/managing-optimizers/index.html
index e4c2a70bb..209f16e46 100644
--- a/output/docs/latest/managing-optimizers/index.html
+++ b/output/docs/latest/managing-optimizers/index.html
@@ -666,7 +666,7 @@
</tr>
</tbody>
</table>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">localContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.LocalOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -789,7 +789,7 @@ with container-impl as <code>org.apache.amoro.server.manager.KubernetesOptimizer
</tr>
</tbody>
</table>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">KubernetesContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.KubernetesOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -888,7 +888,7 @@ you need to add a new container configuration. with container-impl as <code>org.
</ul>
</div>
<p>An example for yarn-per-job mode:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">flinkContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.FlinkOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -898,7 +898,7 @@ you need to add a new container configuration. with container-impl as <code>org.
</span></span><span style="display:flex;"><span> <span style="color:#f92672">export.JVM_ARGS</span>: -<span style="color:#ae81ff">Djava.security.krb5.conf=/opt/krb5.conf </span> <span style="color:#75715e">#flink launch jvm args, like kerberos config when ues kerberos</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">export.FLINK_CONF_DIR</span>: <span style="color:#ae81ff">/etc/hadoop/conf/ </span> <span style="color:#75715e">#flink config dir</span>
</span></span></code></pre></div><p>An example for kubernetes-application mode:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">flinkContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.FlinkOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -911,7 +911,7 @@ you need to add a new container configuration. with container-impl as <code>org.
</span></span><span style="display:flex;"><span> <span style="color:#f92672">flink-conf.kubernetes.container.image</span>: <span style="color:#e6db74">"apache/amoro-flink-optimizer:{version}"</span> <span style="color:#75715e"># Optimizer image ref</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">flink-conf.kubernetes.service-account</span>: <span style="color:#ae81ff">flink </span> <span style="color:#75715e"># Service account that is used within kubernetes cluster.</span>
</span></span></code></pre></div><p>An example for flink session mode:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">flinkContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.FlinkOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -1030,7 +1030,7 @@ If you don’t want this feature, you can use these settings:</p>
</ul>
</div>
<p>An example for yarn client mode:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">sparkContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.SparkOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -1042,7 +1042,7 @@ If you don’t want this feature, you can use these settings:</p>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">export.JVM_ARGS</span>: -<span style="color:#ae81ff">Djava.security.krb5.conf=/opt/krb5.conf </span> <span style="color:#75715e"># Spark launch jvm args, like kerberos config when ues kerberos</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">export.SPARK_CONF_DIR</span>: <span style="color:#ae81ff">/etc/hadoop/conf/ </span> <span style="color:#75715e"># Spark config dir</span>
</span></span></code></pre></div><p>An example for kubernetes cluster mode:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">containers</span>:
</span></span><span style="display:flex;"><span> - <span style="color:#f92672">name</span>: <span style="color:#ae81ff">sparkContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">container-impl</span>: <span style="color:#ae81ff">org.apache.amoro.server.manager.SparkOptimizerContainer</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">properties</span>:
@@ -1189,7 +1189,7 @@ If the optimizer runs normally, you will see an optimizer with the status <code>
</div>
<h3 id="deploy-external-optimizer">Deploy external optimizer</h3>
<p>You can submit optimizer in your own Flink task development platform or local Flink environment with the following configuration. The main parameters include:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./bin/flink run-application -t yarn-application <span style="color:#ae81ff">\
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./bin/flink run-application -t yarn-application <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> -Djobmanager.memory.process.size<span style="color:#f92672">=</span>1024mb <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> -Dtaskmanager.memory.process.size<span style="color:#f92672">=</span>2048mb <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> -Dtaskmanager.memory.managed.size<span style="color:#f92672">=</span>32mb <span style="color:#ae81ff">\
@@ -1268,7 +1268,7 @@ If the optimizer runs normally, you will see an optimizer with the status <code>
</tbody>
</table>
<p>Or you can submit optimizer in your own Spark task development platform or local Spark environment with the following configuration. The main parameters include:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./bin/spark-submit --master yarn --deploy-mode cluster <span style="color:#ae81ff">\
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./bin/spark-submit --master yarn --deploy-mode cluster <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> --conf <span style="color:#e6db74">"spark.driver.cores=1"</span> <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> --conf <span style="color:#e6db74">"spark.driver.memory=g"</span> <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> --conf <span style="color:#e6db74">"spark.executor.cores=1"</span> <span style="color:#ae81ff">\
diff --git a/output/docs/latest/mixed-iceberg-format/index.html b/output/docs/latest/mixed-iceberg-format/index.html
index 0a54cbfdb..e748926cb 100644
--- a/output/docs/latest/mixed-iceberg-format/index.html
+++ b/output/docs/latest/mixed-iceberg-format/index.html
@@ -660,13 +660,13 @@ Auto-bucket divides the data under a partition into sets of non-intersecting pri
<p>The BaseStore and ChangeStore of the Mixed-Iceberg format both use the Iceberg format and are consistent with Iceberg in schema, types, and partition usage.
While possessing the features of the Mixed-Iceberg format, the BaseStore and ChangeStore can be read and written using the native Iceberg connector, thus having all the functional features of the Iceberg format.
Taking Spark as an example, this paper describes how to operate on the Mixed-Iceberg format table created by Quick demo using the Iceberg connector. We can use the following command to open a Spark SQL client:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>spark-sql --packages org.apache.Iceberg:Iceberg-spark-runtime-3.2_2.12:0.14.0<span style="color:#ae81ff">\
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>spark-sql --packages org.apache.Iceberg:Iceberg-spark-runtime-3.2_2.12:0.14.0<span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> --conf spark.sql.extensions<span style="color:#f92672">=</span>org.apache.Iceberg.spark.extensions.IcebergSparkSessionExtensions <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> --conf spark.sql.catalog.local<span style="color:#f92672">=</span>org.apache.Iceberg.spark.SparkCatalog <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> --conf spark.sql.catalog.local.type<span style="color:#f92672">=</span>hadoop <span style="color:#ae81ff">\
</span></span></span><span style="display:flex;"><span> --conf spark.sql.catalog.local.warehouse<span style="color:#f92672">=</span>/tmp/Amoro/warehouse
</span></span></code></pre></div><p>After that, we can use the following command to read from or write to the Iceberg tables managed by Amoro:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>-- Switch to Iceberg catalog
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>-- Switch to Iceberg catalog
</span></span><span style="display:flex;"><span>use local;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>-- Show all Iceberg tables
diff --git a/output/docs/latest/rest-api/index.html b/output/docs/latest/rest-api/index.html
index 1a84fc968..bfc6603e5 100644
--- a/output/docs/latest/rest-api/index.html
+++ b/output/docs/latest/rest-api/index.html
@@ -637,7 +637,7 @@
</code></pre><p>You can also view the OpenAPI specification YAML in the repository at <code>amoro-ams/src/main/resources/openapi/openapi.yaml</code>, or use the <a href="https://editor-next.swagger.io/?url=https://raw.githubusercontent.com/apache/amoro/master/amoro-ams/src/main/resources/openapi/openapi.yaml">Swagger Editor</a> online.</p>
<h2 id="building-the-openapi-sdk">Building the OpenAPI SDK</h2>
<p>Build the OpenAPI SDK using Maven:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>./mvnw clean package -pl amoro-openapi-sdk -am -Popenapi-sdk
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>./mvnw clean package -pl amoro-openapi-sdk -am -Popenapi-sdk
</span></span></code></pre></div></div>
diff --git a/output/docs/latest/search.json b/output/docs/latest/search.json
index 7cd6dbb54..fcaec2043 100644
--- a/output/docs/latest/search.json
+++ b/output/docs/latest/search.json
@@ -1 +1 @@
-[{"categories":null,"content":"Amoro Docs This directory contains the documentation content of Amoro.\nThe documentation is written in Markdown format. The images referenced in the documentation are saved in the images folder. Style Proper nouns should start with a capital letter, like Hadoop、Hive、Iceberg、Amoro ","description":"","title":"","uri":"https://amoro.apache.org/docs/latest/readme/"},{"categories":null,"content":" AMS Configuration Amoro Management Service Configuration The con [...]
\ No newline at end of file
+[{"categories":null,"content":"Amoro Docs This directory contains the documentation content of Amoro.\nThe documentation is written in Markdown format. The images referenced in the documentation are saved in the images folder. Style Proper nouns should start with a capital letter, like Hadoop、Hive、Iceberg、Amoro ","description":"","title":"","uri":"https://amoro.apache.org/docs/latest/readme/"},{"categories":null,"content":" AMS Configuration Amoro Management Service Configuration The con [...]
\ No newline at end of file
diff --git a/output/docs/latest/self-optimizing/index.html b/output/docs/latest/self-optimizing/index.html
index 66a4b2be8..d1605a739 100644
--- a/output/docs/latest/self-optimizing/index.html
+++ b/output/docs/latest/self-optimizing/index.html
@@ -668,7 +668,7 @@ competition and waste of CPU/IO/Memory, slows down the optimization speed, and f
needs trade off between read and write amplification. Amoro’s Self-optimizing takes inspiration from the Generational Garbage Collection algorithm
in the JVM. Files are divided into Fragments and Segments based on their sizes, and different Self-optimizing processes executed on Fragments and
Segments are classified into two types: minor and major. Therefore, Amoro v0.4 introduces two parameters to define Fragments and Segments:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#75715e">-- Target file Size for Self-optimizing
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#75715e">-- Target file Size for Self-optimizing
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">self</span><span style="color:#f92672">-</span>optimizing.target<span style="color:#f92672">-</span><span style="color:#66d9ef">size</span> <span style="color:#f92672">=</span> <span style="color:#ae81ff">134217728</span>(<span style="color:#ae81ff">128</span>MB)
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- The fragment file size threshold for Self-optimizing
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">self</span><span style="color:#f92672">-</span>optimizing.fragment<span style="color:#f92672">-</span>ratio <span style="color:#f92672">=</span> <span style="color:#ae81ff">8</span>
@@ -744,7 +744,7 @@ the Quota and Quota occupation for each table’s Self-optimizing:</p>
See: <a href="../managing-optimizers#optimizer-group">Optimizer Group Configuration</a>。</p>
<p>Users can also disable the Self-optimizing for a table by configuring the following settings on the table, which will prevent it from being scheduled
for optimizing.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">self</span><span style="color:#f92672">-</span>optimizing.enabled <span style="color:#f92672">=</span> <span style="color:#66d9ef">false</span>;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">self</span><span style="color:#f92672">-</span>optimizing.enabled <span style="color:#f92672">=</span> <span style="color:#66d9ef">false</span>;
</span></span></code></pre></div><p>If you are working with non-updatable tables like logs or sensor data and are used to utilizing the Spark Rewrite Action offered by Iceberg, you can
turn off the Self-optimizing.</p>
<p>However, if the table is configured with a primary key and supports CDC ingestion and streaming updates (e.g., database synchronization tables or
@@ -754,10 +754,10 @@ dimensionally aggregated tables), it is advisable to enable the Self-optimizing.
<p>The <code>Quota</code> strategy is a scheduling policy that schedules based on resource usage. The Self-optimizing resource usage of a single table is managed
by configuring the quota configuration on the table. Quota specifies the maximum number of optimizer resources that can be allocated to each table.
Quotas can be specified as either a decimal (representing a percentage) or an integer (representing a fixed number of resources):</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#75715e">-- Set quota as a percentage of total optimizer resources
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#75715e">-- Set quota as a percentage of total optimizer resources
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">self</span><span style="color:#f92672">-</span>optimizing.quota <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span>.<span style="color:#ae81ff">5</span>;
</span></span></code></pre></div><p>A decimal quota (e.g., 0.5) limits the table to a percentage of the total available optimizer resources.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#75715e">-- Set quota as a fixed number of optimizer resources
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#75715e">-- Set quota as a fixed number of optimizer resources
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">self</span><span style="color:#f92672">-</span>optimizing.quota <span style="color:#f92672">=</span> <span style="color:#ae81ff">10</span>;
</span></span></code></pre></div><p>An integer quota (e.g., 10) restricts the table to a specific number of optimizer resources.</p>
<p>This flexible configuration prevents resource underutilization and allows users to tailor resource allocation to their needs.</p>
diff --git a/output/docs/latest/spark-configuration/index.html b/output/docs/latest/spark-configuration/index.html
index ac8c893f6..4b246da34 100644
--- a/output/docs/latest/spark-configuration/index.html
+++ b/output/docs/latest/spark-configuration/index.html
@@ -636,20 +636,20 @@
<p>Starting from version 3.x, Spark supports configuring an independent Catalog.
If you want to use a Mixed-Format table in a standalone Catalog, you can create a mixed_catalog and load catalog
metadata from AMS with following properties:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkCatalog</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkCatalog</span>
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog.ams.uri</span><span style="color:#f92672">=</span><span style="color:#e6db74">thrift://${AMS_HOST}:${AMS_PORT}/${AMS_CATALOG_NAME_HIVE}</span>
</span></span></code></pre></div><p>Or create a mixed_catalog with local configurations with following properties:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkCatalog</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkCatalog</span>
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Configure mixed catalog type as you needed</span>
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog.type</span><span style="color:#f92672">=</span><span style="color:#e6db74">hadoop</span>
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog.warehouse</span><span style="color:#f92672">=</span><span style="color:#e6db74">/warehouse/hadoop_mixed_catalog</span>
</span></span></code></pre></div><p>Then, execute the following SQL in the Spark SQL Client to switch to the corresponding catalog.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>use mixed_catalog;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>use mixed_catalog;
</span></span></code></pre></div><p>Of course, you can also access Mixed-Format tables by directly using the triplet
<code>mixed_catalog.{db_name}.{table_name}</code>.</p>
<p>You can also set Spark’s default catalog to your configured catalog using the following properties.
In this way, you don’t need to use the <code>use {catalog}</code> command to switch the default catalog.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.defaultCatalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">mixed_catalog</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.defaultCatalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">mixed_catalog</span>
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkCatalog</span>
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog.ams.uri</span><span style="color:#f92672">=</span><span style="color:#e6db74">thrift://${AMS_HOST}:${AMS_PORT}/${AMS_CATALOG_NAME_HIVE}</span>
</span></span></code></pre></div><p>In a standalone AmoroSparkCatalog scenario, only Mixed-Format tables can be created and accessed in the corresponding
@@ -658,7 +658,7 @@ catalog</p>
<p>If you want to access both existing Hive tables or Spark datasource tables and Mixed-Format tables in Spark,
you can use the AmoroSparkSessionCatalog as the implementation of the Spark default session catalog.
The configuration method is as follows.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.spark_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkSessionCatalog</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.spark_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkSessionCatalog</span>
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.spark_catalog.ams.uri</span><span style="color:#f92672">=</span><span style="color:#e6db74">thrift://${AMS_HOST}:${AMS_PORT}/${AMS_CATALOG_NAME_HIVE}</span>
</span></span></code></pre></div><p>When using the <code>MixedFormatSparkSessionCatalog</code> as the implementation of the <code>spark_catalog</code>, it behaves as follows</p>
<ul>
@@ -682,7 +682,7 @@ will be used to create the table.</p>
<h2 id="the-high-availability-configuration">The high availability configuration</h2>
<p>If AMS is configured with high availability, you can configure the <code>spark.sql.catalog.{catalog_name}.ams.uri</code> property in
the following way to achieve higher availability.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkCatalog</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog</span><span style="color:#f92672">=</span><span style="color:#e6db74">org.apache.amoro.spark.MixedFormatSparkCatalog</span>
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">spark.sql.catalog.mixed_catalog.ams.uri</span><span style="color:#f92672">=</span><span style="color:#e6db74">zookeeper://{zookeeper-endpoint-list}/{cluster-name}/{catalog-name}</span>
</span></span></code></pre></div><p>Among above:</p>
<ul>
diff --git a/output/docs/latest/spark-ddl/index.html b/output/docs/latest/spark-ddl/index.html
index 6c1de1393..79a173dd5 100644
--- a/output/docs/latest/spark-ddl/index.html
+++ b/output/docs/latest/spark-ddl/index.html
@@ -634,21 +634,21 @@
<h2 id="create-table">CREATE TABLE</h2>
<p>To create an MixedFormat table under an Amoro Catalog, you can use <code>using mixed_iceberg</code> or <code>using mixed_hive</code> to specify the provider in the
<code>CREATE TABLE</code> statement. If the Catalog type is Hive, the created table will be a Hive-compatible table.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
</span></span><span style="display:flex;"><span> id bigint <span style="color:#66d9ef">COMMENT</span> <span style="color:#e6db74">"unique id"</span>,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">data</span> string
</span></span><span style="display:flex;"><span>) <span style="color:#66d9ef">USING</span> mixed_iceberg
</span></span></code></pre></div><h3 id="primary-key">PRIMARY KEY</h3>
<p>You can use <code>PRIMARY KEY</code> in the <code>CREATE TABLE</code> statement to specify the primary key column.
MixedFormat ensures the uniqueness of the primary key column through MOR (Merge on Read) and Self-Optimizing.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
</span></span><span style="display:flex;"><span> id bigint <span style="color:#66d9ef">COMMENT</span> <span style="color:#e6db74">"unique id"</span>,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">data</span> string ,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">PRIMARY</span> <span style="color:#66d9ef">KEY</span> (id)
</span></span><span style="display:flex;"><span>) <span style="color:#66d9ef">USING</span> mixed_iceberg
</span></span></code></pre></div><h3 id="partitioned-by">PARTITIONED BY</h3>
<p>Using <code>PARTITIONED BY</code> in the <code>CREATE TABLE</code> statement to create a table with partition spec.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
</span></span><span style="display:flex;"><span> id bigint,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">data</span> string,
</span></span><span style="display:flex;"><span> category string)
@@ -656,7 +656,7 @@ MixedFormat ensures the uniqueness of the primary key column through MOR (Merge
</span></span><span style="display:flex;"><span>PARTITIONED <span style="color:#66d9ef">BY</span> (category)
</span></span></code></pre></div><p>In the <code>PARTITIONED BY</code> clause, you can define partition expressions, and Mixed-Iceberg format supports all partition
expressions in Iceberg.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
</span></span><span style="display:flex;"><span> id bigint,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">data</span> string,
</span></span><span style="display:flex;"><span> category string,
@@ -740,10 +740,10 @@ AS SELECT ...
<p>In the current version, <code>REPLACE TABLE ... AS SELECT</code> does not provide atomicity guarantees.</p>
</blockquote>
<h2 id="drop-table">DROP TABLE</h2>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample;
</span></span></code></pre></div><h2 id="truncate-table">TRUNCATE TABLE</h2>
<p>The <code>TRUNCATE TABLE</code> statement could delete all data in the table.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">TRUNCATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">TRUNCATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample;
</span></span></code></pre></div><h2 id="alter-table">ALTER TABLE</h2>
<p>The ALTER TABLE syntax supported by Mixed-Format includes:</p>
<ul>
@@ -755,32 +755,32 @@ AS SELECT ...
<li>ALTER TABLE … DROP PARTITION</li>
</ul>
<h3 id="alter-table--set-tblproperties">ALTER TABLE … SET TBLPROPERTIES</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">SET</span> TBLPROPERTIES (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">SET</span> TBLPROPERTIES (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'read.split.target-size'</span><span style="color:#f92672">=</span><span style="color:#e6db74">'268435456'</span>
</span></span><span style="display:flex;"><span>);
</span></span></code></pre></div><p>Using <code>UNSET</code> to remove properties:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample UNSET TBLPROPERTIES (<span style="color:#e6db74">'read.split.target-size'</span>);
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample UNSET TBLPROPERTIES (<span style="color:#e6db74">'read.split.target-size'</span>);
</span></span></code></pre></div><h3 id="alter-table--add-column">ALTER TABLE … ADD COLUMN</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> COLUMNS (
</span></span><span style="display:flex;"><span> new_column string <span style="color:#66d9ef">comment</span> <span style="color:#e6db74">'new_column docs'</span>
</span></span><span style="display:flex;"><span> );
</span></span></code></pre></div><p>You can add multiple columns at once, separated by commas.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- create a struct column
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- create a struct column
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> point struct<span style="color:#f92672"><</span>x: double, y: double<span style="color:#f92672">></span>;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- add a field to the struct
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> point.z double;
-</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- create a nested array column of struct
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- create a nested array column of struct
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> points array<span style="color:#f92672"><</span>struct<span style="color:#f92672"><</span>x: double, y: double<span style="color:#f92672">>></span>;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- add a field to the struct within an array. Using keyword 'element' to access the array's element column.
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> points.element.z double;
-</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- create a map column of struct key and struct value
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#75715e">-- create a map column of struct key and struct value
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> points <span style="color:#66d9ef">map</span><span style="color:#f92672"><</span>struct<span style="color:#f92672"><</span>x: int<span style="color:#f92672">></span>, struct<span style="color:#f92672"><</span>a: int<span style="color:#f92672">>></span>;
</span></span><span style="display:flex;"><span>
@@ -788,31 +788,31 @@ AS SELECT ...
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> points.value.b int;
</span></span></code></pre></div><p>You can add columns at any position by using the <code>FIRST</code> or <code>AFTER</code> clause.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> new_column bigint <span style="color:#66d9ef">AFTER</span> other_column;
-</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> TABLEmixed_catalog.db.sample
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> TABLEmixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ADD</span> <span style="color:#66d9ef">COLUMN</span> nested.new_column bigint <span style="color:#66d9ef">FIRST</span>;
</span></span></code></pre></div><h3 id="alter-table--rename-column">ALTER TABLE … RENAME COLUMN</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">RENAME</span> <span style="color:#66d9ef">COLUMN</span> <span style="color:#66d9ef">data</span> <span style="color:#66d9ef">TO</span> payload;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">RENAME</span> <span style="color:#66d9ef">COLUMN</span> <span style="color:#66d9ef">data</span> <span style="color:#66d9e [...]
</span></span></code></pre></div><h3 id="alter-table--alter-column">ALTER TABLE … ALTER COLUMN</h3>
<p><code>"</code>ALTER COLUMN` can be used to widen types, make fields nullable, set comments, and reorder fields.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> measurement <span style="color:#66d9ef">TYPE</span> double;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> measurement <span style="color:#66d9ef">TYPE</span> double;
</span></span></code></pre></div><p>To add or remove columns from a structure, use <code>ADD COLUMN</code> or <code>DROP COLUMN</code> with nested column names.</p>
<p>Column comments can also be updated using <code>ALTER COLUMN</code>.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> measurement <span style="color:#66d9ef">TYPE</span> double <span style="color:#66d9ef">COMMENT</ [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> measurement <span style="color:#66d9ef">TYPE</span> double <span s [...]
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> measurement <span style="color:#66d9ef">COMMENT</span> <span style="color:#e6db74">'unit is kilobytes per second'</span>;
</span></span></code></pre></div><p>You can use the <code>FIRST</code> and <code>AFTER</code> clauses to reorder top-level or nested columns within a structure.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> col <span style="color:#66d9ef">FIRST</span>;
-</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> nested.col <span style="color:#66d9ef">AFTER</span> other_col;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> col <span style="color:#66d9ef">FIRST</span>;
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">COLUMN</span> nested.col <span style="color:#66 [...]
</span></span></code></pre></div><h3 id="alter-table--drop-column">ALTER TABLE … DROP COLUMN</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">COLUMN</span> id;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">COLUMN</span> id;
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">COLUMN</span> point.z;
</span></span></code></pre></div><h3 id="alter-table--drop-partition">ALTER TABLE … DROP PARTITION</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">IF</span> <span style="color:#66d9ef">EXISTS</span> PARTITION (dt<span style="color:#f92672">=</span><span styl [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample <span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">IF</span> <span style="color:#66d9ef">EXISTS</span> PARTITION (dt<span style="col [...]
</span></span></code></pre></div><h2 id="desc-table">DESC TABLE</h2>
<p><code>DESCRIBE TABLE</code> returns basic metadata information about a table, including the primary key information for tables that
have a primary key</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span> <span style="color:#960050;background-color:#1e0010">{</span> <span style="color:#66d9ef">DESC</span> <span style="color:#f92672">|</span> <span style="color:#66d9ef">DESCRIBE</span> <span style="color:#960050;background-color:#1e0010">}</span> <span style="color:#66d9ef">TABLE</spa [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span> <span style="color:#960050;background-color:#1e0010">{</span> <span style="color:#66d9ef">DESC</span> <span style="color:#f92672">|</span> <span style="color:#66d9ef">DESCRIBE</span> <span style="color:#960050;background-color:#1e0010">}</span> <span st [...]
</span></span></code></pre></div></div>
diff --git a/output/docs/latest/spark-getting-started/index.html b/output/docs/latest/spark-getting-started/index.html
index 65e896550..e3fe1f998 100644
--- a/output/docs/latest/spark-getting-started/index.html
+++ b/output/docs/latest/spark-getting-started/index.html
@@ -641,7 +641,7 @@ Refer to the documentation at <a href="https://paimon.apache.org/docs/master/eng
for more information.</p>
<h1 id="mixed-format">Mixed Format</h1>
<p>To use Amoro in a Spark shell, use the –packages option:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>spark-shell --packages org.apache.amoro:amoro-mixed-spark-3.3-runtime:0.7.0
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>spark-shell --packages org.apache.amoro:amoro-mixed-spark-3.3-runtime:0.7.0
</span></span></code></pre></div><blockquote>
<p>If you want to include the connector in your Spark installation, add the <code>amoro-mixed-spark-3.3-runtime</code> Jar to
Spark’s <code>jars</code> folder.</p>
diff --git a/output/docs/latest/spark-queries/index.html b/output/docs/latest/spark-queries/index.html
index 3b8fb5085..dc1b253f0 100644
--- a/output/docs/latest/spark-queries/index.html
+++ b/output/docs/latest/spark-queries/index.html
@@ -634,11 +634,11 @@
<h2 id="querying-with-sql">Querying with SQL</h2>
<h3 id="querying-mixed-format-table-by-merge-on-read">Querying Mixed-Format table by merge on read</h3>
<p>Using <code>Select</code> statement to query on Mixed-Format tables.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> mixed_catalog.db.sample
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> mixed_catalog.db.sample
</span></span></code></pre></div><p>The Mixed-Format connector will merge the data from <code>BaseStore</code> and <code>ChangeStore</code>.</p>
<h3 id="query-on-change-store">Query on change store</h3>
<p>For a Mixed-Format table with primary keys. you can query on <code>ChangeStore</code> by <code>.change</code>.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> mixed_catalog.db.sample.change
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> mixed_catalog.db.sample.change
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">+</span><span style="color:#75715e">---+----+----+---------------+------------+--------------+
</span></span></span><span style="display:flex;"><span><span style="color:#f92672">|</span> id<span style="color:#f92672">|</span>name<span style="color:#f92672">|</span><span style="color:#66d9ef">data</span><span style="color:#f92672">|</span>_transaction_id<span style="color:#f92672">|</span>_file_offset<span style="color:#f92672">|</span>_change_action<span style="color:#f92672">|</span>
@@ -655,10 +655,10 @@ per checkpoint in streaming mode.</li>
</ul>
<h2 id="querying-with-dataframes">Querying with DataFrames</h2>
<p>You can read the Mixed-Format table by Spark DataFrames:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-scala" data-lang="scala"><span style="display:flex;"><span><span style="color:#66d9ef">val</span> df <span style="color:#66d9ef">=</span> spark<span style="color:#f92672">.</span>read<span style="color:#f92672">.</span>table<span style="color:#f92672">(</span><span style="color:#e6db74">"mixed_catalog.db.sample"</span><span style= [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-scala" data-lang="scala"><span style="display:flex;"><span><span style="color:#66d9ef">val</span> df <span style="color:#66d9ef">=</span> spark<span style="color:#f92672">.</span>read<span style="color:#f92672">.</span>table<span style="color:#f92672">(</span><span style="color:#e6db74">"mixed_catalog.db. [...]
</span></span><span style="display:flex;"><span>df<span style="color:#f92672">.</span>count
</span></span></code></pre></div><p>And visit the <code>ChangeStore</code> by <code>.change</code>.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-scala" data-lang="scala"><span style="display:flex;"><span><span style="color:#66d9ef">val</span> df <span style="color:#66d9ef">=</span> spark<span style="color:#f92672">.</span>read<span style="color:#f92672">.</span>table<span style="color:#f92672">(</span><span style="color:#e6db74">"mixed_catalog.db.sample.change"</span><span [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-scala" data-lang="scala"><span style="display:flex;"><span><span style="color:#66d9ef">val</span> df <span style="color:#66d9ef">=</span> spark<span style="color:#f92672">.</span>read<span style="color:#f92672">.</span>table<span style="color:#f92672">(</span><span style="color:#e6db74">"mixed_catalog.db. [...]
</span></span><span style="display:flex;"><span>df<span style="color:#f92672">.</span>count
</span></span></code></pre></div></div>
diff --git a/output/docs/latest/spark-writes/index.html b/output/docs/latest/spark-writes/index.html
index f897b2afe..b1190b8d0 100644
--- a/output/docs/latest/spark-writes/index.html
+++ b/output/docs/latest/spark-writes/index.html
@@ -637,7 +637,7 @@
<p>The default overwrite mode of Spark is <code>Static</code>, you can change the overwrite mode by</p>
<pre tabindex="0"><code>SET spark.sql.sources.partitionOverwriteMode=dynamic
</code></pre><p>To demonstrate the behavior of dynamic and static overwrites, a test table is defined using the following DDL:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.sample (
</span></span><span style="display:flex;"><span> id int,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">data</span> string,
</span></span><span style="display:flex;"><span> ts <span style="color:#66d9ef">timestamp</span>,
@@ -645,13 +645,13 @@
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">USING</span> mixed_iceberg
</span></span><span style="display:flex;"><span>PARTITIONED <span style="color:#66d9ef">BY</span> (days(ts))
</span></span></code></pre></div><p>When Spark’s overwrite mode is dynamic, the partitions of the rows generated by the SELECT query will be replaced.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> OVERWRITE mixed_catalog.db.sample <span style="color:#66d9ef">values</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> OVERWRITE mixed_catalog.db.sample <span style="color:#66d9ef">values</span>
</span></span><span style="display:flex;"><span>(<span style="color:#ae81ff">1</span>, <span style="color:#e6db74">'aaa'</span>, <span style="color:#66d9ef">timestamp</span>(<span style="color:#e6db74">' 2022-1-1 09:00:00 '</span>)),
</span></span><span style="display:flex;"><span>(<span style="color:#ae81ff">2</span>, <span style="color:#e6db74">'bbb'</span>, <span style="color:#66d9ef">timestamp</span>(<span style="color:#e6db74">' 2022-1-2 09:00:00 '</span>)),
</span></span><span style="display:flex;"><span>(<span style="color:#ae81ff">3</span>, <span style="color:#e6db74">'ccc'</span>, <span style="color:#66d9ef">timestamp</span>(<span style="color:#e6db74">' 2022-1-3 09:00:00 '</span>))
</span></span></code></pre></div><p>When Spark’s overwrite mode is static, the PARTITION clause will be translated into the result set of the SELECT from
the table. If the PARTITION clause is omitted, all partitions will be replaced.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> OVERWRITE mixed_catalog.db.sample
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> OVERWRITE mixed_catalog.db.sample
</span></span><span style="display:flex;"><span>partition( dt <span style="color:#f92672">=</span> <span style="color:#e6db74">'2021-1-1'</span>) <span style="color:#66d9ef">values</span>
</span></span><span style="display:flex;"><span>(<span style="color:#ae81ff">1</span>, <span style="color:#e6db74">'aaa'</span>), (<span style="color:#ae81ff">2</span>, <span style="color:#e6db74">'bbb'</span>), (<span style="color:#ae81ff">3</span>, <span style="color:#e6db74">'ccc'</span>)
</span></span></code></pre></div><blockquote>
@@ -664,7 +664,7 @@ an error will be thrown during the write operation.</p>
</blockquote>
<h3 id="insert-into">INSERT INTO</h3>
<p>To append new data to a table, use <code>INSERT INTO</code>.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> mixed_catalog.db.sample <span style="color:#66d9ef">VALUES</span> (<span style="color:#ae81ff">1</span>, <span style="color:#e6db74">'a'</span>), (<span style="color:#ae81ff">2</span>, <span styl [...]
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> mixed_catalog.db.sample <span style="color:#66d9ef">VALUES</span> (<span style="color:#ae81ff">1</span>, <span style="color:#e6db74">'a'</span>), (<span style="color [...]
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> prod.db.<span style="color:#66d9ef">table</span> <span style="color:#66d9ef">SELECT</span> ...
</span></span></code></pre></div><h4 id="upsert-to-table-with-primary-keys">Upsert to table with primary keys.</h4>
@@ -674,13 +674,13 @@ the <code>write.upsert.enabled parameter</code>.</p>
and if it does not exist, an INSERT operation will be performed.</p>
<p>When <code>UPSERT</code> is disabled, only <code>INSERT</code> operation will be performed,
even if there are rows with the same primary key in the table.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.keyedTable (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">CREATE</span> <span style="color:#66d9ef">TABLE</span> mixed_catalog.db.keyedTable (
</span></span><span style="display:flex;"><span> id int,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">data</span> string,
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">primary</span> <span style="color:#66d9ef">key</span> (id))
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">USING</span> mixed_iceberg
</span></span><span style="display:flex;"><span>TBLPROPERTIES (<span style="color:#e6db74">'write.upsert.enabled'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'true'</span>)
-</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> mixed_catalog.db.keyedTable <span style="color:#66d9ef">VALUES</span> (<span style="color:#ae81ff">1</span>, <span style="color:#e6db74">'a'</span>), (<span style [...]
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> mixed_catalog.db.keyedTable <span style="color:#66d9ef">VALUES</span> (<span style="color:#ae81ff">1</span>, <span style="color:#e6db74"> [...]
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">INSERT</span> <span style="color:#66d9ef">INTO</span> prod.db.keyedTable <span style="color:#66d9ef">SELECT</span> ...
</span></span></code></pre></div><blockquote>
@@ -690,7 +690,7 @@ an error will be thrown during the write operation.</p>
</blockquote>
<h3 id="delete-from">DELETE FROM</h3>
<p>The <code>DELETE FROM</code> statements delete rows from table.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DELETE</span> <span style="color:#66d9ef">FROM</span> mixed_catalog.db.sample
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DELETE</span> <span style="color:#66d9ef">FROM</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">WHERE</span> ts <span style="color:#f92672">>=</span> <span style="color:#e6db74">'2020-05-01 00:00:00'</span> <span style="color:#66d9ef">and</span> ts <span style="color:#f92672"><</span> <span style="color:#e6db74">'2020-06-01 00:00:00'</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">DELETE</span> <span style="color:#66d9ef">FROM</span> mixed_catalog.db.sample
@@ -700,7 +700,7 @@ an error will be thrown during the write operation.</p>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">WHERE</span> <span style="color:#66d9ef">EXISTS</span> (<span style="color:#66d9ef">SELECT</span> oid <span style="color:#66d9ef">FROM</span> prod.db.returned_orders <span style="color:#66d9ef">WHERE</span> t1.oid <span style="color:#f92672">=</span> oid)
</span></span></code></pre></div><h3 id="update">UPDATE</h3>
<p>The <code>UPDATE</code> statement modifies rows in the table.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">UPDATE</span> mixed_catalog.db.sample
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">UPDATE</span> mixed_catalog.db.sample
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> c1 <span style="color:#f92672">=</span> <span style="color:#e6db74">'update_c1'</span>, c2 <span style="color:#f92672">=</span> <span style="color:#e6db74">'update_c2'</span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">WHERE</span> ts <span style="color:#f92672">>=</span> <span style="color:#e6db74">'2020-05-01 00:00:00'</span> <span style="color:#66d9ef">and</span> ts <span style="color:#f92672"><</span> <span style="color:#e6db74">'2020-06-01 00:00:00'</span>
</span></span><span style="display:flex;"><span>
@@ -712,12 +712,12 @@ an error will be thrown during the write operation.</p>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">SET</span> order_status <span style="color:#f92672">=</span> <span style="color:#e6db74">'returned'</span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">WHERE</span> <span style="color:#66d9ef">EXISTS</span> (<span style="color:#66d9ef">SELECT</span> oid <span style="color:#66d9ef">FROM</span> prod.db.returned_orders <span style="color:#66d9ef">WHERE</span> t1.oid <span style="color:#f92672">=</span> oid)
</span></span></code></pre></div><h3 id="merge-into">MERGE INTO</h3>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>MERGE <span style="color:#66d9ef">INTO</span> prod.db.target t <span style="color:#75715e">-- a target table
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>MERGE <span style="color:#66d9ef">INTO</span> prod.db.target t <span style="color:#75715e">-- a target table
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">USING</span> (<span style="color:#66d9ef">SELECT</span> ...) s <span style="color:#75715e">-- the source updates
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">ON</span> t.id <span style="color:#f92672">=</span> s.id <span style="color:#75715e">-- condition to find updates for target rows
</span></span></span><span style="display:flex;"><span><span style="color:#66d9ef">WHEN</span> ... <span style="color:#75715e">-- updates
</span></span></span></code></pre></div><p>The <code>MERGE INTO</code> statement supports multi action <code>WHEN MATCHED ... THEN ...</code> to execute <code>UPDATE</code>, <code>DELETE</code>, <code>INSERT</code>.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>MERGE <span style="color:#66d9ef">INTO</span> prod.db.target t
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">USING</span> prod.db.<span style="color:#66d9ef">source</span> s
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">ON</span> t.id <span style="color:#f92672">=</span> s.id
@@ -728,18 +728,18 @@ an error will be thrown during the write operation.</p>
</span></span></code></pre></div><h2 id="writing-with-dataframes">Writing with DataFrames</h2>
<h3 id="appending-data">Appending data</h3>
<p>Using <code>append()</code> to add data to a MixedFormat table.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">data</span>.writeTo(<span style="color:#e6db74">"mixed_catalog.db.sample"</span>).append()
</span></span></code></pre></div><h3 id="overwriting-data">Overwriting data</h3>
<p>Using <code>overwritePartitions()</code> to overwriting data.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">data</span>.writeTo(<span style="color:#e6db74">"mixed_catalog.db.sample"</span>).overwritePartitions()
</span></span></code></pre></div><h3 id="creating-tables">Creating tables</h3>
<p>The <code>create()</code> will create a table and write data to the table, just like <code>CREATE TABLE AS SELECT</code></p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">data</span>.writeTo(<span style="color:#e6db74">"mixed_catalog.db.sample"</span>).<span style="color:#66d9ef">create</span>()
</span></span></code></pre></div><p>The primary keys and partition keys could be specified by <code>partitionBy()</code> and <code>option("primary.keys", "'xxx'")</code>.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>val <span style="color:#66d9ef">data</span>: DataFrame <span style="color:#f92672">=</span> ...
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">data</span>.<span style="color:#66d9ef">write</span>().format(<span style="color:#e6db74">"mixed_iceberg"</span>)
</span></span><span style="display:flex;"><span> .partitionBy(<span style="color:#e6db74">"data"</span>)
</span></span><span style="display:flex;"><span> .<span style="color:#66d9ef">option</span>(<span style="color:#e6db74">"primary.keys"</span>, <span style="color:#e6db74">"'xxx'"</span>)
diff --git a/output/docs/latest/table-watermark/index.html b/output/docs/latest/table-watermark/index.html
index 1b9cdbcdc..600289785 100644
--- a/output/docs/latest/table-watermark/index.html
+++ b/output/docs/latest/table-watermark/index.html
@@ -648,7 +648,7 @@ computing to gauge table freshness.</p>
indicates that data with timestamps earlier than this watermark have been written to the table. It is typically used to monitor the progress of table
writes and can also serve as a trigger indicator for downstream batch computing tasks.</p>
<p>Mixed Format uses the following configurations to configure watermark:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span> <span style="color:#e6db74">'table.event-time-field'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'op_time'</span>,
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span> <span style="color:#e6db74">'table.event-time-field'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'op_time'</span>,
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'table.watermark-allowed-lateness-second'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'60'</span>
</span></span></code></pre></div><p>In the example above, <code>op_time</code> is set as the event time field for the table, and the watermark for the table is calculated using the <code>op_time</code> of the
data being written. To handle out-of-order writes, a maximum delay of 60 seconds is allowed for calculating the watermark. Unlike in stream
@@ -656,10 +656,10 @@ processing, data with event_time values smaller than the watermark will not be r
either.</p>
<p>You can view the current watermark of a table in the AMS Dashboard’s table details, or you can use the following SQL query in the terminal to query
the watermark of a table:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TBLPROPERTIES test_db.test_log_store (<span style="color:#e6db74">'watermark.table'</span>);
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TBLPROPERTIES test_db.test_log_store (<span style="color:#e6db74">'watermark.table'</span>);
</span></span></code></pre></div><p>You can also query the table watermark of the BaseStore using the following command, which can be combined with native reads from Hive or Iceberg for
greater flexibility:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TBLPROPERTIES test_db.test_log_store (<span style="color:#e6db74">'watermark.base'</span>);
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-SQL" data-lang="SQL"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TBLPROPERTIES test_db.test_log_store (<span style="color:#e6db74">'watermark.base'</span>);
</span></span></code></pre></div><p>You can learn about how to use Watermark in detail by referring to <a href="../using-tables/">Using tables</a>.</p>
</div>
diff --git a/output/docs/latest/trino/index.html b/output/docs/latest/trino/index.html
index 4686e8637..1ba03fac6 100644
--- a/output/docs/latest/trino/index.html
+++ b/output/docs/latest/trino/index.html
@@ -644,24 +644,24 @@ please refer to the documentation at <a href="https://paimon.apache.org/docs/mas
and extract the contents of the amoro-trino package amoro-mixed-trino-xx.tar.gz to the {trino_home}/plugin/amoro directory.</li>
<li>Configure the Catalog configuration file for Amoro in the {trino_home}/etc/catalog directory, for example:</li>
</ul>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-tex" data-lang="tex"><span style="display:flex;"><span>connector.name=mixed-format
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-tex" data-lang="tex"><span style="display:flex;"><span>connector.name=mixed-format
</span></span><span style="display:flex;"><span>amoro.url=thrift://{ip}:{port}/{catalogName}
</span></span></code></pre></div><ul>
<li>Configure the JVM configuration file for Trino in the {trino_home}/etc directory named <code>jvm.config</code> :</li>
</ul>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-tex" data-lang="tex"><span style="display:flex;"><span>--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-tex" data-lang="tex"><span style="display:flex;"><span>--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED
</span></span></code></pre></div><h3 id="support-sql-statement">Support SQL statement</h3>
<h4 id="query-table">Query Table</h4>
<p>By adopting the Merge-On-Read approach to read Mixed Format, the latest data of the table can be read, for example:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> <span style="color:#e6db74">"{TABLE_NAME}"</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> <span style="color:#e6db74">"{TABLE_NAME}"</span>
</span></span></code></pre></div><h4 id="query-basestore-of-table">Query BaseStore of Table</h4>
<p>Directly querying the BaseStore in a table with a primary key is supported. The BaseStore stores the stock data of the table, which is usually generated by batch job or optimization.
The queried data is static, and the query efficiency is very high, but the timeliness is not good. The syntax is as follows:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> <span style="color:#e6db74">"{TABLE_NAME}#BASE"</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> <span style="color:#e6db74">"{TABLE_NAME}#BASE"</span>
</span></span></code></pre></div><h4 id="query-changestore-of-table">Query ChangeStore of Table</h4>
<p>Directly querying the ChangeStore in a table with a primary key is supported. The ChangeStore stores the stream and change data of the table, which is usually written in real time by stream job.
The change records of the table can be queried through the ChangeStore, and the expiry time of the data in the ChangeStore determines how long ago the change records can be queried.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> <span style="color:#e6db74">"{TABLE_NAME}#CHANGE"</span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> <span style="color:#e6db74">"{TABLE_NAME}#CHANGE"</span>
</span></span></code></pre></div><p>Three additional columns will be included in the query result, which are:</p>
<ul>
<li>_transaction_id: The transaction ID allocated by AMS when the data is written. In batch mode, it is allocated for each SQL execution, and in stream mode, it is allocated for each checkpoint.</li>
@@ -746,7 +746,7 @@ The change records of the table can be queried through the ChangeStore, and the
<h3 id="trino-uses-proxy-user-to-access-hadoop-cluster">Trino uses proxy user to access Hadoop cluster.</h3>
<p>By default, when Trino queries Amoro, it uses the Hadoop user configured in the <a href="../managing-catalogs/#create-catalog">catalog creation</a> to access the Hadoop cluster.
To use Trino’s user to access the Hadoop cluster, you need enable Hadoop impersonation by adding the mixed-format.hdfs.impersonation.enabled=true parameter in the Amoro catalog configuration file located in the {trino_home}/etc/catalog directory, as follows.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-tex" data-lang="tex"><span style="display:flex;"><span>connector.name=mixed-format
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-tex" data-lang="tex"><span style="display:flex;"><span>connector.name=mixed-format
</span></span><span style="display:flex;"><span>amoro.url=thrift://{ip}:{port}/{catalogName}
</span></span><span style="display:flex;"><span>mixed-format.hdfs.impersonation.enabled=true
</span></span></code></pre></div><p><code>mixed-format.hdfs.impersonation.enabled</code> default false</p>
diff --git a/output/docs/latest/using-customized-encryption-method/index.html b/output/docs/latest/using-customized-encryption-method/index.html
index 4a0ea4590..56f2b12bd 100644
--- a/output/docs/latest/using-customized-encryption-method/index.html
+++ b/output/docs/latest/using-customized-encryption-method/index.html
@@ -636,7 +636,7 @@
<p>To integrate a custom encryption algorithm, you need to create a Java class that implements the <code>ConfigShade</code> interface and package it as a service.</p>
<h3 id="add-maven-dependency">Add Maven Dependency</h3>
<p>If using a Maven project, add the following dependency to your <code>pom.xml</code>:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#f92672"><dependency></span>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#f92672"><dependency></span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672"><groupId></span>org.apache.amoro<span style="color:#f92672"></groupId></span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672"><artifactId></span>amoro-common<span style="color:#f92672"></artifactId></span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672"><version></span>${amoro.version}<span style="color:#f92672"></version></span>
@@ -644,7 +644,7 @@
</span></span><span style="display:flex;"><span><span style="color:#f92672"></dependency></span>
</span></span></code></pre></div><h3 id="implement-the-configshade-interface">Implement the <code>ConfigShade</code> Interface</h3>
<p>Create a Java class that implements the <code>ConfigShade</code> interface. This class will handle decryption for sensitive configuration values.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#75715e">/**
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#75715e">/**
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"> * The interface that provides the ability to decrypt {@link
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"> * org.apache.amoro.config.Configurations}.
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"> */</span>
@@ -676,7 +676,7 @@
<li><code>decrypt(String content)</code>: Implements the decryption logic for converting encrypted values back to plaintext.</li>
</ul>
<p>Here is an example implementation:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">package</span> com.example.shade;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">package</span> com.example.shade;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.config.Configurations;
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> org.apache.amoro.config.shade.ConfigShade;
@@ -698,10 +698,10 @@
</span></span><span style="display:flex;"><span>}
</span></span></code></pre></div><h3 id="register-the-custom-implementation">Register the Custom Implementation</h3>
<p>Create a file named <code>org.apache.amoro.config.shade.ConfigShade</code> under <code>resources/META-INF/services/</code> and add the fully qualified class name of your implementation:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-j" data-lang="j"><span style="display:flex;"><span>com<span style="color:#f92672">.</span>example<span style="color:#f92672">.</span>shade<span style="color:#f92672">.</span>Base64CustomConfigShade
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-j" data-lang="j"><span style="display:flex;"><span>com<span style="color:#f92672">.</span>example<span style="color:#f92672">.</span>shade<span style="color:#f92672">.</span>Base64CustomConfigShade
</span></span></code></pre></div><h3 id="build-the-jar">Build the JAR</h3>
<p>Package your implementation into a JAR file using Maven:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./mvnw clean package
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>./mvnw clean package
</span></span></code></pre></div><h2 id="deploy-the-custom-implementation">Deploy the Custom Implementation</h2>
<p>Once you’ve developed and packaged the custom encryption algorithm, you can deploy it to AMS by following these steps.</p>
<h3 id="copy-the-jar-to-ams">Copy the JAR to AMS</h3>
@@ -709,13 +709,13 @@
<h3 id="configure-ams-to-use-the-custom-encryption">Configure AMS to Use the Custom Encryption</h3>
<p>Modify <code>${AMORO_HOME}/conf/config.yaml</code> to specify the custom encryption algorithm by setting the <code>ams.shade.identifier</code> to match the value returned by <code>getIdentifier()</code> in your Java class.
Then, replace sensitive configuration values with their encrypted versions.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#f92672">ams</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">shade</span>:
</span></span><span style="display:flex;"><span> <span style="color:#f92672">identifier</span>: <span style="color:#ae81ff">base64-custom </span> <span style="color:#75715e"># Use the custom encryption algorithm</span>
</span></span><span style="display:flex;"><span> <span style="color:#f92672">sensitive-keywords</span>: <span style="color:#ae81ff">admin-password;database.password</span>
</span></span></code></pre></div><h3 id="restart-ams">Restart AMS</h3>
<p>Restart the AMS service to apply the new encryption settings.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>bin/ams restart
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>bin/ams restart
</span></span></code></pre></div><p>By following these steps, you can successfully integrate and deploy a custom encryption algorithm in AMS, ensuring that sensitive information is securely stored in the configuration file.</p>
</div>
diff --git a/output/docs/latest/using-kyuubi/index.html b/output/docs/latest/using-kyuubi/index.html
index b4c4c4754..08c59ff64 100644
--- a/output/docs/latest/using-kyuubi/index.html
+++ b/output/docs/latest/using-kyuubi/index.html
@@ -636,7 +636,7 @@
<li>There must be a running Kyuubi. To deploy and run Kyuubi, please refer to <a href="https://kyuubi.readthedocs.io/en/master/">Kyuubi doc</a></li>
</ul>
<p>Terminal supports interfacing with Kyuubi to submit SQL to Kyuubi for execution. All you need to do is add the Kyuubi configuration as instructed below:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>ams:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>ams:
</span></span><span style="display:flex;"><span> terminal:
</span></span><span style="display:flex;"><span> backend: kyuubi
</span></span><span style="display:flex;"><span> kyuubi.jdbc.url: jdbc:hive2://127.0.0.1:10009/ <span style="color:#75715e"># kyuubi Connection Address</span>
@@ -654,7 +654,7 @@
<h2 id="ldap-authentication">LDAP Authentication</h2>
<p>Except for the configuration of Kerberos authentication, everything else is the same. You can integrate with LDAP using the following configuration:
set kyuubi.ldap.enabled to true, and then specify the username and password for LDAP in the URL.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>ams:
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>ams:
</span></span><span style="display:flex;"><span> terminal:
</span></span><span style="display:flex;"><span> backend: kyuubi
</span></span><span style="display:flex;"><span> kyuubi.ldap.enabled: true
diff --git a/output/docs/latest/using-tables/index.html b/output/docs/latest/using-tables/index.html
index b586c508b..20ec0b418 100644
--- a/output/docs/latest/using-tables/index.html
+++ b/output/docs/latest/using-tables/index.html
@@ -636,7 +636,7 @@ It is also available in <a href="../spark-ddl/">Spark</a> and <a href="../flink-
<h2 id="create-table">Create table</h2>
<p>After logging into AMS dashboard, go to <code>Terminal</code>, enter the table creation statement and execute it to complete the table creation.
The following is an example of table creation:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">create</span> <span style="color:#66d9ef">table</span> test_db.test_log_store(
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">create</span> <span style="color:#66d9ef">table</span> test_db.test_log_store(
</span></span><span style="display:flex;"><span> id int,
</span></span><span style="display:flex;"><span> name string,
</span></span><span style="display:flex;"><span> op_time <span style="color:#66d9ef">timestamp</span>,
@@ -664,9 +664,9 @@ To handle out-of-order writes, the permitted lateness of data when calculating t
You can view the current watermark of the table in the table details on the AMS Dashboard at AMS dashboard.</p>
<p><img src="../images/admin/watermark_table_detail.png" alt="mixed-format-table-watermark"></p>
<p>You can also use the following SQL statement in the <code>Terminal</code> to query the watermark of a table:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TBLPROPERTIES test_db.test_log_store (<span style="color:#e6db74">'watermark.table'</span>);
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SHOW</span> TBLPROPERTIES test_db.test_log_store (<span style="color:#e6db74">'watermark.table'</span>);
</span></span></code></pre></div><p>You can expect to get the following results:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>+-----------------+---------------+
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>+-----------------+---------------+
</span></span><span style="display:flex;"><span>| key | value |
</span></span><span style="display:flex;"><span>+-----------------+---------------+
</span></span><span style="display:flex;"><span>| watermark.table | 1668579055000 |
@@ -690,42 +690,42 @@ more information on modifying tables, please refer to the syntax guide <a href="
<h3 id="modify-optimizer-group">Modify optimizer group</h3>
<p>To use an optimizer launched under a specific optimizer group to perform self-optimizing, you need to modify the <code>self-optimizing.group</code> parameter of the table to specify a specific resource pool for the table.
The setting method is as follows:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'self-optimizing.group'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'group_name'</span>);
</span></span></code></pre></div><p>In default,<code>'self-optimizing.group' = 'default'</code>。</p>
<h3 id="adjust-optimizing-resources">Adjust optimizing resources</h3>
<p>If there are multiple tables to be optimized under the same Optimizer Group, you can manually adjust the resource proportion of each table by adjusting the <code>quota</code>.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'self-optimizing.quota'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'0.1'</span>);
</span></span></code></pre></div><p>For more information, please refer to <a href="../self-optimizing/#quota">Self-optimizing quota</a>。</p>
<h3 id="adjust-optimizing-parameters">Adjust optimizing parameters</h3>
<p>You can manually set parameters such as execution interval, task size, and execution timeout for different types of Optimize.
For example, to set the execution interval for minor optimizing, you can do the following:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'self-optimizing.minor.trigger.interval'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'3600000'</span>);
</span></span></code></pre></div><p>More optimization parameter adjustment refer to <a href="../configurations/#self-optimizing-configurations">Self-optimizing configuration</a>。</p>
<h3 id="enable-or-disable-self-optimizing">Enable or disable self-optimizing</h3>
<p>The Optimize of the table is enabled by default. If you want to disable the Optimize feature, execute the following command.
Conversely, you can re-enable it:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'self-optimizing.enabled'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'false'</span>);
</span></span></code></pre></div><h2 id="configure-data-expiration">Configure data expiration</h2>
<p>Amoro can periodically clean data based on the table’s expiration policy, which includes properties such as whether to enable expiration, retention duration, expiration level, and the selection of the field for expiration.
it’s also necessary for AMS to have the data expiration thread enabled. You can enable the ‘data-expiration’ property in the configuration file</p>
<h3 id="enable-or-disable-data-expiration">Enable or disable data expiration</h3>
<p>By default, Amoro has data expiration disabled. If you want to enable data expiration, please execute the following command.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'data-expire.enabled'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'true'</span>);
</span></span></code></pre></div><h3 id="set-retention-period">Set retention period</h3>
<p>The configuration for data retention duration consists of a number and a unit. For example, ‘90d’ represents retaining data for 90 days, and ‘12h’ indicates 12 hours.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'data-expire.retention-time'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'90d'</span>);
</span></span></code></pre></div><h3 id="select-expiration-field">Select expiration field</h3>
<p>Data expiration requires users to specify a field for determining expiration.
In addition to supporting timestampz/timestamp field types for this purpose, it also supports string and long field type.
String field require a date pattern for proper parsing, with the default format being ‘yyyy-MM-dd’. Additionally, long fields can be chosen as the expiration event time, but you need to specify the timestamp’s unit, which can be in <code>TIMESTAMP_MS</code> or <code>TIMESTAMP_S</code>.
Note that timestamp, timestampz, and long field types use UTC, while others use the local time zone.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'data-expire.field'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'op_time'</span>);
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- select string field
@@ -739,16 +739,16 @@ Note that timestamp, timestampz, and long field types use UTC, while others use
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'data-expire.datetime-number-format'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'TIMESTAMP_MS'</span>);
</span></span></code></pre></div><h3 id="adjust-expiration-level">Adjust expiration level</h3>
<p>Data expiration supports two levels, including <code>PARTITION</code> and <code>FILE</code>. The default level is <code>PARTITION</code>, which means that AMS deletes files only when all the files within a partition have expired.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'data-expire.level'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'partition'</span>);
</span></span></code></pre></div><h3 id="specify-start-time">Specify start time</h3>
<p>Amoro expire data since <code>LAST_COMMIT_TIME</code> or <code>CURRENT_TIME</code>. <code>LAST_COMMIT_TIME</code> will follow the timestamp of the table’s most recent snapshot as the start time of the expiration, which ensures that the table has <code>data-expire.retention-time</code> data; while <code>CURRENT_TIME</code> will follow the current time of the service.</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">ALTER</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store <span style="color:#66d9ef">set</span> tblproperties (
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">'data-expire.base-on-rule'</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'CURRENT_TIME'</span>);
</span></span></code></pre></div><h2 id="delete-table">Delete table</h2>
<p>After logging into the AMS Dashboard. To modify a table, enter the modification statement in the <code>terminal</code> and execute it.</p>
<p>Here is an example of how to delete a table:</p>
-<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store;
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">DROP</span> <span style="color:#66d9ef">TABLE</span> test_db.test_log_store;
</span></span></code></pre></div><p>The current terminal is using the Spark engine to execute SQL. For more information about deleting tables, you can refer to <a href="../spark-ddl/#drop-table">Spark DDL</a>.</p>
<h2 id="explore-table-details">Explore table details</h2>
<p>The Amoro Tables details page provides multiple tabs to display the status of the table from various dimensions, mainly including:</p>