mkabilov / pg2ch

Data streaming from postgresql to clickhouse via logical replication mechanism
MIT License
195 stars 35 forks source link

Support for Composite fields #30

Open niravmehta opened 5 years ago

niravmehta commented 5 years ago

How do we sync composite fields on PG to nested fields on CH?

ildus commented 5 years ago

I would say that you're doing something wrong, composite fields should be defined as tuples in clickhouse, not nested fields (because they're more like tuples of arrays).