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

Duplicated rows / Updates are not deleted in iceberg table #318

Open
julien-alpaca opened this issue Dec 9, 2024 · 1 comment
Open

Duplicated rows / Updates are not deleted in iceberg table #318

julien-alpaca opened this issue Dec 9, 2024 · 1 comment

Comments

@julien-alpaca
Copy link

julien-alpaca commented Dec 9, 2024

The sink is not deleting the previous key when receiving an update although I have those two options enabled:

    "iceberg.tables.cdc-field": "__op",
    "iceberg.tables.upsert-mode-enabled": "true",

I specified the key and partition like this:

...
    "iceberg.tables.default-id-columns": "id",
    "iceberg.tables.default-partition-by": "day(created_at)",

Looks like the sink connector won't delete records created by a debezium snapshot (__op = 'r').

@julien-alpaca
Copy link
Author

@bryanck Any idea?

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

1 participant