1

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还是我错过的东西......

4

1 回答 1

0

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

于 2018-02-28T09:39:32.537 回答