ClickHouse Data Cookbook: Advanced Random Data

Intro A while ago, I wrote this blog about quantiles in Druid . I am planning to do a similar exercise for ClickHouse: this blog here is a preparatory exercise about generating the test data. Back then, I wrote an external data generator script but I thought by myself: with the richness of ClickHouse, can this be done natively? Let’s find out! Recap: the Python version Here is the Python code that…