Rebuilding Segmentation with ClickHouse