Clickhouse |其中IN条件为单值

时间:2018-02-27 10:28:46

标签: clickhouse

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个值放入“in”状态它完美无缺。 请建议,是Clickhouse bug还是我错过的东西......

1 个答案:

答案 0 :(得分:0)

尝试使用1.1.54343及更高版本当前Clickhouse Server源上不存在您的错误消息,并且可能当前已修复