CI: Propagate schema changes to child Iceberg tables in inheritance hierarchies#76
Open
sfc-gh-mslot wants to merge 3 commits intomainfrom
Open
CI: Propagate schema changes to child Iceberg tables in inheritance hierarchies#76sfc-gh-mslot wants to merge 3 commits intomainfrom
sfc-gh-mslot wants to merge 3 commits intomainfrom
Conversation
…rchies Signed-off-by: PJ <ipriyanshujain@gmail.com>
Signed-off-by: PJ <ipriyanshujain@gmail.com>
Signed-off-by: PJ <ipriyanshujain@gmail.com>
6e85270 to
847d412
Compare
3 tasks
Collaborator
Author
|
@sfc-gh-abozkurt @sfc-gh-okalaci probably good to go (needs an approval) |
| alter table child1 inherit parent; | ||
| insert into parent values (1, 'parent', 10); | ||
| insert into child1 values (2, 'child1', 20); | ||
| alter table parent drop column z; |
Collaborator
There was a problem hiding this comment.
dropping and adding the same column to parent gives unexpected error. (does not fail with regular postgres tables)
postgres=# alter table parent drop column z;
ALTER TABLE
postgres=# alter table parent add column z int;
NOTICE: merging definition of column "z" for child "child1"
ERROR: missing field for column
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #48