mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
4 lines
332 B
SQL
4 lines
332 B
SQL
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 }
|