Iceberg Tags
This documentation is for an unreleased version of Apache Paimon. We recommend you use the latest stable version.

Iceberg Tags #

When enable iceberg compatibility, Paimon Tags will also be synced to Iceberg Tags. Tags are only synced to Iceberg if the referenced snapshot exists in the Iceberg table.

CREATE CATALOG paimon WITH (
    'type' = 'paimon',
    'warehouse' = '<path-to-warehouse>'
);

CREATE CATALOG iceberg WITH (
    'type' = 'iceberg',
    'catalog-type' = 'hadoop',
    'warehouse' = '<path-to-warehouse>/iceberg',
    'cache-enabled' = 'false' -- disable iceberg catalog caching to quickly see the result
);

-- create tag for paimon table
CALL paimon.sys.create_tag('default.T', 'tag1', 1);

-- query tag in iceberg table
SELECT * FROM iceberg.`default`.T /*+ OPTIONS('tag'='tag1') */;
Edit This Page
Copyright © 2025 The Apache Software Foundation. Apache Paimon, Paimon, and its feather logo are trademarks of The Apache Software Foundation.