19835819
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
01:43.216
Run Time
00:06.993
Inserted
3h ago
Scheduled
1h ago
Completed
1h ago (00:07)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "22",
"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" => 1772761546382437,
"recorded" => true,
"return" => "g1AAAABaeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYBDNLZdOKs3MSUktik8tS80riUdXwVNaLpFXUBxfXFpUllqJIc3cCQBoLB9t",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a93-7b08-8cfa-6ad71d750746"
}
Recorded Output
%{
users_reached: 5485,
builder_event_users_reached: 3189,
nps_survey_users_reached: 905
}
Errors
Attempt 2—1h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"
# 2
54
# 3
67
# 4
[" is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, ", "retryable error happened, or dat", " failed with error. It can mean that some", "le reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (state Active", "c-bfb5a9721ce2:41927, kind: Regular, unbound: 0: (wh", "caller id: 5923fbf2-411d-4112-8c", "e: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 4194304,", "e2:41927, file segment info: File segment: [0, 4194303], key: 31211262ceb296d126dc7cad9682b2e5, sta", "osition: 2302067, internal buffer end: 114688, read_type: CACHED, last caller: 5923fbf2-411d-4112-8c4c-bfb5a9721", "pniynhwkpjubyyrqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 114688, read_until_", "-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefma", "d9682b2e5/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-30f/aa8129e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7c"]
(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—1h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"
# 2
53
# 3
67
# 4
["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", "61295_36_22488012 (state Active) failed with error. It", ": Regular, unbound: 0: (while reading column attributes): (attempt to read data part all_12396311_12", "r id: None, current write offset: 4194304, caller id: 68c0b89b-b9cb-49ca-a73e-fcfba441f86f:43115, kin", "reserved size: 4194304, download", "b2e5, state: DOWNLOADED, downloaded size: 4194304,", "key: 31211262ceb296d126dc7cad968", "6f:43115, file segment info: File segment: [0, 4194303],", "osition: 2302067, internal buffer end: 114688, read_type: CACHED, last caller: 68c0b89b-b9cb-49ca-a73e-fcfba441f", "pniynhwkpjubyyrqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 114688, read_until_", "-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefma", "d9682b2e5/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-30f/aa8129e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7c"]
(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