I use Clickhouse database.
I have text coming in segments. I need to group all text in one row without duplicate segments
when count(segment) = tot