IMPALA-11287: [DOCS] Implement cloning between Iceberg tables

This commit adds documents related to cloning Iceberg Table.

Testing:
 - Built the docs and checked the contents.

Change-Id: Ie93cbfe6db40b4e41d1445f19801b4c53407c836
Reviewed-on: http://gerrit.cloudera.org:8080/18706
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Zoltan Borok-Nagy <boroknagyz@cloudera.com>
This commit is contained in:
LPL
2022-07-06 11:55:32 +08:00
committed by Zoltan Borok-Nagy
parent 78e45a7cea
commit 995887ae4e

View File

@@ -87,6 +87,10 @@ under the License.
Time travel: enables reproducible queries that use exactly the same table
snapshot, or lets users easily examine changes.
</li>
<li>
Cloning Iceberg tables: create an empty Iceberg table based on the definition of
another Iceberg table.
</li>
</ul>
</conbody>
</concept>
@@ -484,6 +488,24 @@ DESCRIBE HISTORY ice_t BETWEEN '2022-01-04 10:00:00' AND '2022-01-05 10:00:00';
</conbody>
</concept>
<concept id="iceberg_table_cloning">
<title>Cloning Iceberg tables (LIKE clause)</title>
<conbody>
<p>
Use <codeph>CREATE TABLE ... LIKE ...</codeph> to create an empty Iceberg table
based on the definition of another Iceberg table, including any column attributes in
the original table:
<codeblock>
CREATE TABLE new_ice_tbl LIKE orig_ice_tbl;
</codeblock>
</p>
<p>
Because of the Data Types of Iceberg and Impala do not correspond one by one, Impala
can only clone between Iceberg tables.
</p>
</conbody>
</concept>
<concept id="iceberg_table_properties">
<title>Iceberg table properties</title>
<conbody>