DC
select toStartOfMonth(date) as date, ... etc ... from table where date=today()
так нельзя в where обратиться прям к столбцу date ибо в выборке он будет уже как toStartOfMonth(date)
Size: a a a
DC
select toStartOfMonth(date) as date, ... etc ... from table where date=today()
КТ
C
DC
VA
ClickHouse client version 20.3.8.53 (official build).
Connecting to 127.0.0.1:9003 as user default.
Connected to ClickHouse server version 20.3.8 revision 54433.
:) CREATE SETTINGS PROFILE client_profile SETTINGS max_memory_usage=5000000000
Syntax error: failed at position 8:
CREATE SETTINGS PROFILE client_profile SETTINGS max_memory_usage=5000000000
Expected one of: VIEW, LIVE, DATABASE, USER, TEMPORARY, TABLE, ROW POLICY, POLICY, DICTIONARY, QUOTA, OR REPLACE, ROLE, MATERIALIZED
A
l
A
VB
VN
VN
VB
l
VB
VN
VN
VN
VN
l
AT