clickhouse-kafka-connect icon indicating copy to clipboard operation
clickhouse-kafka-connect copied to clipboard

Supprting ClickHouse JSON Type

Open mzitnik opened this issue 2 years ago • 4 comments

Kafka Connect SinkRecord is supporting nested types It should be translated to JSON Type in ClickHouse

mzitnik avatar Aug 21 '22 13:08 mzitnik

Any timeline on this?

amit-cashify avatar Dec 11 '23 07:12 amit-cashify

Hi @amit-cashify - the short answer is that we're waiting for official support of the JSON type, as it's currently considered experimental.

There are a few workarounds for this - this guide covers some details, while this is another workaround I've seen used (where the entire object is stored as a single string field and then parsed out in a later MV).

Hope that helps!

Paultagoras avatar Dec 11 '23 21:12 Paultagoras

Hi @amit-cashify - the short answer is that we're waiting for official support of the JSON type, as it's currently considered experimental.

I am also waiting on that to be production ready. Do you know of an ETA for official support of JSON type?

amit-cashify avatar Dec 12 '23 07:12 amit-cashify

Hi @amit-cashify - the short answer is that we're waiting for official support of the JSON type, as it's currently considered experimental.

I am also waiting on that to be production ready. Do you know of an ETA for official support of JSON type?

Sorry, I don't know of an ETA at the moment - I can ask internally if there is one, but no promises.

Paultagoras avatar Dec 15 '23 17:12 Paultagoras

According to https://clickhouse.com/docs/en/sql-reference/data-types/json this is an obsolete type and no longer meant to be used, as such closing this issue.

Paultagoras avatar Jun 05 '24 14:06 Paultagoras