Clickhouse 客户端版本:1.1.54318 这是我的查询
SELECT toDayOfWeek(event_date) as dd,event_date,toString(toDateTime(toString(event_time))) as event_time,severity
from tbl_sla_alert
PREWHERE sla_id = 94 AND event_time >= '2018-02-27 14:55:00' AND (event_time >= '2018-02-27 00:00:00' AND event_time <= '2018-02-27 23:59:59') AND (dd in (4))
ORDER BY event_date,event_time
在执行此查询时,我收到以下错误:
DB::Exception: Received from localhost:9000, ::1. DB::Exception: Set for IN is not created yet!.
但我将超过 1 个值放入“处于”状态,它工作得很好。请建议,是clickhouse bug还是我错过的东西......