mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
4 lines
332 B
MySQL
4 lines
332 B
MySQL
|
create table test(day Date, id UInt32) engine=MergeTree partition by day order by tuple();
|
||
|
insert into test select toDate('2023-01-05') AS day, number from numbers(10);
|
||
|
with toUInt64(id) as id_with select day, count(id_with) from test where day >= '2023-01-01' group by day limit 1000; -- { serverError NOT_FOUND_COLUMN_IN_BLOCK }
|