Changes a column's type in place with ALTER TABLE ... ALTER COLUMN ... SET TYPE. DuckLake permits widening promotions only (for example
INTEGER to BIGINT, or FLOAT to DOUBLE): every existing value
must be representable in the new type, so no data can be lost and no
data files need rewriting.
Details
To narrow a type, which DuckLake refuses, take the explicit route:
add_table_column() with the smaller type, copy the values over (after
checking they fit), drop_table_column() the original, and
rename_table_column() the new column into place.
See also
add_table_column(), drop_table_column(),
rename_table_column()
Other schema evolution:
add_table_column(),
drop_table_column(),
rename_ducklake_table(),
rename_table_column()
