datalens
datalens copied to clipboard
Difficult to work with large tables
I defined a dataset on a table with 21 billion records. When I tried to create my first chart, it did this:

Running this query on ClickHouse:
SELECT `t1`.`created_at` AS `res_0` FROM `default`.`twitter` AS `t1` GROUP BY `res_0` LIMIT 1000001
The query will process nicely, but the aggregation is performed by every unique time point, and it requires 94.5 seconds to finish on a service in ClickHouse Cloud.
Grouping can be changed in the field settings (click on the icon inside the field -> Grouping
But current default grouping is certainly not useful, especially when no filters are specified, we'll probably switch it to day or week.