19835255
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
02:49.714
Run Time
00:01.694
Inserted
20h ago
Scheduled
18h ago
Completed
18h ago (00:02)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "225765",
"date" => "2026-03-06",
"query" => "users_reached",
"window_days" => 30
}
Meta
%{
"deps" => ["generate_event_counts"],
"name" => "generate_users_reached",
"on_hold" => false,
"orig_scheduled_at" => 1772760625347644,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUnkLpdOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCRvB3m",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a87-703e-bcbc-4ca283ce6bba"
}
Recorded Output
%{
users_reached: 11,
builder_event_users_reached: 0,
nps_survey_users_reached: 0
}
Errors
Attempt 2—18h 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
51
# 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", "tempt to read data part all_15730605_15735914_11_22488012 (state Active) failed with error. It can mean that some re", "ronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (a", "18864893954, typename: DB::Async", "mpressing ch-s3-7a6/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lfv/qahurzwhlslszjaiojzznqnrswwnv (position:", "4, kind: Regular, unbound: 0: While reading or dec", "05579, caller id: 190695e4-8b61-4854-b22b-0bf729ae20da:11", "91, downloader id: None, current write offset: 18864", "y: 5fce7a3917601d3fd40e2ed8d5308941, state: DOWNLOADED, downloaded size: 3120491, reserved size: 3120", "t caller: 190695e4-8b61-4854-b22b-0bf729ae20da:1124, file segment info: File segment: [18861785088, 18864905578], k", ": 18864893954, read_until_position: 18864905579, internal buffer end: 3108866, read_type: CACHED, la", "917601d3fd40e2ed8d5308941, file_offset_of_buffer_en", "a8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lfv/qahurzwhlslszjaiojzznqnrswwnv, hash key: 5fce7a", "8d5308941/18861785088: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-7a6/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/5fc/5fce7a3917601d3fd40e2e"]
(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
Attempt 1—18h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"ion 25.10.1.7375 (official build))\n"
# 2
51
# 3
67
# 4
[" MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (vers", "r. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executin", "05_15735914_11_22488012 (state Active) failed with err", "mpressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_15730", "64893954, typename: DB::AsynchronousBoundedReadBuffer, c", "ressing ch-s3-7a6/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lfv/qahurzwhlslszjaiojzznqnrswwnv (position: 18", "4, kind: Regular, unbound: 0: While reading or decom", "05579, caller id: 338b52d4-08ca-4403-a27b-cdfbe24adec8:23", "91, downloader id: None, current write offset: 18864", "y: 5fce7a3917601d3fd40e2ed8d5308941, state: DOWNLOADED, downloaded size: 3120491, reserved size: 3120", "t caller: 338b52d4-08ca-4403-a27b-cdfbe24adec8:2344, file segment info: File segment: [18861785088, 18864905578], k", ": 18864893954, read_until_position: 18864905579, internal buffer end: 3108866, read_type: CACHED, la", "917601d3fd40e2ed8d5308941, file_offset_of_buffer_en", "a8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lfv/qahurzwhlslszjaiojzznqnrswwnv, hash key: 5fce7a", "8d5308941/18861785088: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-7a6/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/5fc/5fce7a3917601d3fd40e2e"]
(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