-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When an Iceberg table is in an inheritance hierarchy, parent schema changes are not applied into the Iceberg metadata of the children.
Heap tables:
create table par (id bigint, value text);
create table child1 (id bigint, value text);
create table child2 (id bigint, value text);
alter table child1 inherit par;
alter table child2 inherit par;
alter table par add column z int;
select * from par;
┌────┬───────┬───┐
│ id │ value │ z │
├────┼───────┼───┤
└────┴───────┴───┘
(0 rows)Iceberg tables:
create table par (id bigint, value text) using iceberg;
create table child1 (id bigint, value text) using iceberg;
create table child2 (id bigint, value text) using iceberg;
alter table child1 inherit par;
alter table child2 inherit par;
alter table par add column z int;
select * from par;
ERROR: missing field for columnMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working