Snowflake Iceberg Open Tables: What Changes, What Doesn't
In this article
- Background: Snowflake's Native Table Format vs. Iceberg
- How Iceberg Tables Work in Snowflake
- What Changes When You Use Iceberg Tables
- What Does NOT Change
- How to Choose Between Snowflake-Managed and External Iceberg Tables
- Common Mistakes and Misconceptions
- Cost and Storage Considerations
- Frequently Asked Questions
This article explains exactly what happens when you enable Iceberg open table format on a Snowflake table: which Snowflake features and behaviors change, and which remain exactly the same. The short answer: Iceberg tables change how data is physically stored and how you manage table metadata, but they do not change how you query the data with SQL, and most Snowflake features like clustering, time travel, and security continue to work, though some have specific limitations.
Background: Snowflake's Native Table Format vs. Iceberg
Snowflake's default table format is a proprietary, fully-managed storage layer that ties metadata and data files to Snowflake's internal services. This design gives you automatic performance, but it also locks your data inside Snowflake's ecosystem. Iceberg is an open table format—a specification for how table metadata and data files are organized—that allows multiple engines (like Spark, Trino, and Snowflake) to read and write the same table. Snowflake added support for Iceberg tables in 2022, letting you create tables that use Iceberg's open format while still benefiting from Snowflake's compute and governance.
How Iceberg Tables Work in Snowflake
When you create an Iceberg table in Snowflake, you specify an external location (like an S3 bucket or Azure Blob storage) where the data files and Iceberg metadata will live. Snowflake writes data in Parquet format (the default for Iceberg) and maintains the Iceberg metadata. You can create an Iceberg table in two ways:
- Snowflake-managed Iceberg tables: Snowflake handles all metadata and file management for you, but the data is still stored in your external location.
- External Iceberg tables: You bring your own Iceberg metadata and data files (perhaps created by another engine), and Snowflake reads them directly.
In both cases, you query the table with standard SQL: SELECT, INSERT, UPDATE, DELETE, and MERGE all work. The SQL syntax is identical to a regular Snowflake table. Under the hood, Snowflake's query engine reads the Iceberg metadata to locate the Parquet files and executes your query.
What Changes When You Use Iceberg Tables
The most significant change is physical data storage. With a standard Snowflake table, data files are stored in Snowflake's internal storage and are not directly accessible to external tools. With an Iceberg table, the data files are stored in your own cloud storage (S3, Azure Blob, or GCS) in an open format (Parquet). This means you can read those files with any Iceberg-compatible engine, even if you stop using Snowflake entirely.
Another change is how you manage the table. Some Snowflake features that rely on the proprietary metadata layer are either unavailable or behave differently:
- Clustering: Automatic clustering is not supported for Iceberg tables. You can still define a clustering key, but Snowflake will not automatically re-cluster the data. You must manually run
ALTER TABLE ... CLUSTER BYor useOPTIMIZEto re-cluster. - Time travel: Time travel works, but it is limited to the retention period you set on the table (default 1 day, up to 90 days for Snowflake-managed Iceberg tables). For external Iceberg tables, time travel is not available because Snowflake does not control the metadata snapshots.
- Data file management: You are responsible for deleting old data files when you run
DELETEorUPDATEoperations, because Snowflake does not automatically vacuum Iceberg tables. You must runOPTIMIZEor manually expire snapshots to reclaim storage. - Micro-partitions: Snowflake's automatic micro-partitioning and pruning still work, but they are based on the Parquet file statistics, not the proprietary metadata. This can affect query performance for some workloads.
What Does NOT Change
Many core Snowflake features remain identical for Iceberg tables:
- SQL functionality: All standard DML and DDL operations work the same. You can create views, use joins, aggregate, and run window functions.
- Security: Row-level security, column-level security, and masking policies work on Iceberg tables just as they do on standard tables.
- Data sharing: You can share Iceberg tables with other Snowflake accounts using Snowflake's data sharing features.
- Performance features: Result caching, query acceleration, and search optimization (for Snowflake-managed Iceberg tables) continue to work.
- Streams and tasks: You can create streams on Iceberg tables to capture changes, and tasks can be used to automate pipelines.
How to Choose Between Snowflake-Managed and External Iceberg Tables
The choice depends on your primary use case:
- Snowflake-managed Iceberg tables are best if you want to keep using Snowflake as your main engine but want the flexibility of open data. You get most Snowflake features (like time travel and search optimization) while storing data in your own bucket.
- External Iceberg tables are best if you have an existing Iceberg table created by another engine (like Spark) and you want to query it with Snowflake without copying data. You lose Snowflake-specific features like time travel and automatic optimization, but you gain the ability to write to the table with other engines.
Common Mistakes and Misconceptions
A common misconception is that Iceberg tables are slower. In practice, for many queries, the performance difference is negligible, especially for read-heavy workloads. However, you may notice slower DML operations because Snowflake must write Parquet files and update Iceberg metadata. Another mistake is assuming that Iceberg tables are automatically optimized. You must actively manage file compaction and snapshot expiration, or your table will accumulate small files and old snapshots, degrading performance and increasing storage costs.
Another common error is mixing up the two types of Iceberg tables. If you create an external Iceberg table and try to use Snowflake-managed features like time travel, you will get an error. Make sure you know which type you are using and what its limitations are.
Cost and Storage Considerations
With Iceberg tables, you pay for Snowflake compute (credits for running queries) and for the storage in your external cloud provider. Snowflake does not charge its own storage fees for Iceberg tables, because the data is not stored in Snowflake's internal storage. However, you may incur egress costs if you move data between regions or providers. Also, because you are responsible for file management, you might end up with more storage usage than necessary if you do not compact files regularly.
Frequently Asked Questions
Can I convert an existing Snowflake table to Iceberg?
Yes, you can create an Iceberg table and then copy data from an existing table using CREATE TABLE ... AS SELECT or INSERT INTO ... SELECT. However, there is no direct in-place conversion. You must recreate the table as Iceberg and reload the data.
Do Iceberg tables support all Snowflake data types?
Most Snowflake data types are supported, including numeric, string, date/time, and semi-structured types like VARIANT, ARRAY, and OBJECT. However, some Snowflake-specific types like GEOGRAPHY may have limitations. Check the current documentation for the exact list.
Can I use Snowflake's auto-clustering with Iceberg tables?
No, automatic clustering is not supported. You can manually define a clustering key, but Snowflake will not automatically re-cluster the data. You need to run ALTER TABLE ... CLUSTER BY and then OPTIMIZE to physically re-cluster the data.
How does time travel work for Iceberg tables?
For Snowflake-managed Iceberg tables, time travel works within the table's retention period (default 1 day, max 90 days). You can query a previous version using AT (TIMESTAMP = ...) or BEFORE (STATEMENT = ...). For external Iceberg tables, time travel is not supported because Snowflake does not manage the Iceberg snapshots.
Can I write to an Iceberg table from another engine (like Spark) while Snowflake is also using it?
Yes, that is the main benefit of Iceberg. Multiple engines can read and write the same table concurrently, as long as they follow the Iceberg spec. However, you must ensure that your engines use compatible Iceberg versions and that you handle concurrent writes properly (Iceberg supports optimistic concurrency).
Do Iceberg tables support search optimization?
Search optimization is supported for Snowflake-managed Iceberg tables, but not for external Iceberg tables. You can enable it with ALTER TABLE ... ADD SEARCH OPTIMIZATION.