19832499
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
2 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
02:59.234
Run Time
00:01.855
Inserted
7h ago
Scheduled
6h ago
Completed
6h ago (00:02)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "218903",
"date" => "2026-03-06",
"query" => "users_reached",
"window_days" => 1
}
Meta
%{
"deps" => ["generate_event_counts"],
"name" => "generate_users_reached",
"on_hold" => false,
"orig_scheduled_at" => 1772761420402746,
"recorded" => true,
"return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGDiLpdOKs3MSUktik8tS80riUdXwVJdLpFXUBxfXFpUllqJKp1YBADuOx7b",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a4f-7745-b17e-b2a65981ad85"
}
Recorded Output
%{
users_reached: 523,
builder_event_users_reached: 1147,
nps_survey_users_reached: 114
}
Errors
Attempt 1—6h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"ld))\n"
# 2
54
# 3
67
# 4
["ReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "t to read data part all_14319855_14335230_14_22488012 (state Active) failed with error. It can mean that some re", "while reading column attributes): (attem", "-8f11-cb3a8f734693:1377, kind: Regular, unbound: 0: ", "d size: 4194304, downloader id: None, current write offset: 26558332928, caller id: 4fccda17-86c1-42a", "downloaded size: 4194304, reserv", "ent info: File segment: [26554138624, 26558332927], key: e779ec0edb31c12a9c652db1ff3304aa, state: DOWNLOADED,", "ternal buffer end: 320645, read_type: CACHED, last caller: 4fccda17-86c1-42a4-8f11-cb3a8f734693:1377, file seg", "b31c12a9c652db1ff3304aa, file_offset_of_buffer_end: 26554459269, read_until_position: 26554535572, i", "/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uld/togdpmslstzrxltxvanzipipdclks, hash key: e779ec0e", "1ff3304aa/26554138624: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-04", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e77/e779ec0edb31c12a9c652d"]
(ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
(ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
(db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
(db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
(ch 0.7.1) lib/ch.ex:94: Ch.query/4
(ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
(ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
(ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4