You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Use Iceberg-specific DDL to clone and alter Snowflake Iceberg tables
Snowflake rejects `CREATE TABLE ... CLONE` and `ALTER TABLE` for Iceberg
tables, requiring `CREATE ICEBERG TABLE ... CLONE` and `ALTER ICEBERG TABLE`
instead. The model's `table_format` was already honoured when creating tables
but was never propagated to the clone and alter code paths, so both failed
with a SQL compilation error during the virtual layer update and schema
migration respectively.
`clone_table` now accepts `table_format`/`table_kind` and `alter_table`
accepts `table_format`, mirroring the existing `_create_table` convention.
The Snowflake adapter derives the Iceberg-specific table kind from the format,
and the evaluator passes the model's table format through both paths.
Fixes#5721
Signed-off-by: Guillem G <guillem.gimenez@titanos.tv>
0 commit comments