How to create primary keys in ClickHouse
I did found few examples in the documentation where primary keys are created by passing parameters to ENGINE section. But I did not found any description about any argument to ENGINE, what it means and how do I create a primary key. Thanks in advance. It would be great to add this info to the documentation it it's not present. Primary key is supported for MergeTree storage engines family. https://clickhouse.yandex/reference_en.html#MergeTree Note that for most serious tasks, you should use engines from the MergeTree family. It is specified as parameters to storage engine. The engine accepts