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

Alter table add/drop column PostgreSql #417

Closed
tellienne opened this issue Dec 14, 2023 · 2 comments
Closed

Alter table add/drop column PostgreSql #417

tellienne opened this issue Dec 14, 2023 · 2 comments

Comments

@tellienne
Copy link

Hi!
We are trying to use sink-connector-lightweight to replicate data from PostgreSQL to Clickhpuse. Does it support ddl with postgresql (add, drop column)?
We made an alter in the postgres table (ALTER TABLE table_name ADD COLUMN) but in the clickhouse the table did not change

@subkanthi
Copy link
Collaborator

Hi @tellienne ,
Currently, the sink-connector lightweight version does not support replication of DDL's in PostgreSQL.
This comes from the limitations in logical decoding feature
https://debezium.io/documentation/reference/stable/connectors/postgresql.html

Logical decoding does not support DDL changes. This means that the connector is unable to report DDL change events back to consumers.

@tellienne
Copy link
Author

Well, we will make alters manually in clickhouse :)
Thank you!

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