Infinidat / infi.clickhouse_orm

A Python library for working with the ClickHouse database (https://clickhouse.yandex/)
BSD 3-Clause "New" or "Revised" License
414 stars 136 forks source link

COUNT(DISTINCT field_name) analog #165

Open gych76 opened 3 years ago

gych76 commented 3 years ago

Do you have analog of SQL query? SELECT field1 COUNT(DISTINCT field2) FROM table_name GROUP BY field1;