Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema Change Behaviour #370

Open
night2201 opened this issue Jun 25, 2024 · 2 comments
Open

Schema Change Behaviour #370

night2201 opened this issue Jun 25, 2024 · 2 comments

Comments

@night2201
Copy link

Hi @ismailsimsek

  • I am testing schema change behavior with this case

After removal, these column values are populated with null value. columns are kept in the destination table, no change applied to destination table.

  • My table in postgres
    image
  • After, drop column department in above table and insert new a record. However, when I check values of this column in Iceberg table. I find that they don't populate null value.
    image

Additional question, will the destination table be deleted if the source table is deleted? Or do I have to delete it manually

@ismailsimsek
Copy link
Member

@night2201 as you can see row id=22 got NULL departmen value. previous rows are untouched.

Additional question, will the destination table be deleted if the source table is deleted? Or do I have to delete it manually

you need to delete it manually

@ismailsimsek
Copy link
Member

leaving here link to the documentation on schema change behavior https://github.com/memiiso/debezium-server-iceberg/blob/master/docs/DOCS.md#schema-change-behaviour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants