Before you start
Connect an existing catalog using Catalog connections. Prepare access to both its metadata service and the table’s storage. A successful metadata connection test does not confirm permission to read or write data files. Choose an existing private namespace and an unused table name. The examples usedemo.examples.connector_orders. Replace it with your catalog, namespace, and private table name throughout the guide. Run the statements in one Workbench session.
The catalog must support table creation for the sample below. For an existing table, start with the read query and use only the operations its catalog allows.
Create sample data and read it
This creates a small format v2 table. It has two rows and an amount total of20.0.
Append rows
3. A new submission of the same append adds those rows again.
Update and delete rows
(1, 12.5) and (2, 8.5). The connector uses table row identity and the target-read contract for these operations. The catalog and table version must permit the required changes.
Merge rows
Use one source row per target key. This example updates order 2 and adds order 4.(1, 12.5), (2, 9.0), and (4, 6.0).
Overwrite the whole table
This replaces all current rows. Run it only on the private example table.(5, 20.0). This guide covers whole-table replacement. Partition and predicate overwrite have separate capability requirements.
Options and table properties
Use TBLPROPERTIES for accepted values, defaults, and full examples. These settings belong to Iceberg tables. They are separate from the options accepted by the direct Parquet file connector.