“DB::Exception: RangeReader read 7523 rows, but 7550 expected”异常在clickhouse中是啥意思?
Posted
技术标签:
【中文标题】“DB::Exception: RangeReader read 7523 rows, but 7550 expected”异常在clickhouse中是啥意思?【英文标题】:What does "DB::Exception: RangeReader read 7523 rows, but 7550 expected" exception mean in clickhouse?“DB::Exception: RangeReader read 7523 rows, but 7550 expected”异常在clickhouse中是什么意思? 【发布时间】:2020-02-03 11:42:44 【问题描述】:查询:
SELECT * FROM reporting_events WHERE (device_id = 51);
结果:
DB::Exception: RangeReader read 7523 rows, but 7550 expected..
表:
CREATE TABLE reporting_events (
id UInt64,
a UInt32,
b UInt64,
c UInt32,
d DEFAULT 0,
e UInt32 DEFAULT 0,
device_id UInt32,
ts DateTime DEFAULT now(),
name String,
type Enum8('ONLINE' = 0,
'OFFLINE' = 1,
'INFORMATION' = 2,
'WARNING' = 3,
'CRITICAL' = 4),
description String
)
ENGINE = MergeTree()
PARTITION BY toYYYYMM(ts)
ORDER BY (a, b, e, device_id, ts, type)
TTL ts + INTERVAL 6 MONTH;
Clickhouse 版本 20.1.3.7。
【问题讨论】:
Dmitriy,您能否将引用添加到您的 github 问题?谢谢 github问题:github.com/ClickHouse/ClickHouse/issues/8964 【参考方案1】:这是一个 CH 错误。现在从 20.1.5 版本开始修复 - https://github.com/ClickHouse/ClickHouse/issues/8964
【讨论】:
以上是关于“DB::Exception: RangeReader read 7523 rows, but 7550 expected”异常在clickhouse中是啥意思?的主要内容,如果未能解决你的问题,请参考以下文章