itamars_78208
10/23/2026, 4:03 PMflarco
10/24/2026, 1:04 PMyaml
source: MY_PG
target: MY_CH
streams:
public.orders:
object: analytics.orders
mode: incremental
update_key: updated_at
columns:
order_id: bigint not_null
updated_at: datetime not_null # RMT version column can't be Nullable
target_options:
table_ddl: |
create table {object_name} ({col_types})
engine = ReplacingMergeTree(updated_at)
order by order_iditamars_78208
10/27/2026, 2:59 PM