Open tellienne opened 2 days ago
Hi @tellienne , unfortunately the current way is to restart , you can use sink-connector-client
to restart, we are planning to add an option in the client to refresh the schema https://github.com/Altinity/clickhouse-sink-connector/issues/891
Hello! Thanks for your work on the connector.
We use version 2.3.1-lt to transfer data from postgres to clickhouse. We encountered the problem that sometimes the connector does not see that the table in the clickhouse has changed. Changes are applied only after a restart.
How to play:
2024-11-20 08:43:24.202 INFO - Requested 'BLOCKING' snapshot of data collections '[public.moderated_request_products]' with additional conditions '[]' and surrogate key 'PK of table will be used'
2024-11-20 08:43:24.506 INFO - For table 'public.moderated_request_products' using select statement: 'SELECT "id", "moderated_request_id", "product_id", "quantity", "created_at", "updated_at", "passing_price" FROM "public"."moderated_request_products"'
2024-11-20 08:43:25.214 INFO - INSERT QUERY for Database(test) : insert into
moderated_request_products
(id
,moderated_request_id
,product_id
,quantity
,created_at
,updated_at
,_version
,_sign
) selectid
,moderated_request_id
,product_id
,quantity
,created_at
,updated_at
,_version
,_sign
from input('id
UUID,moderated_request_id
UUID,product_id
UUID,quantity
Decimal(16, 4),created_at
String,updated_at
Nullable(String),_version
UInt64,_sign
UInt8')