19824583
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
2 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
10:06.249
Run Time
00:01.640
Inserted
1d ago
Scheduled
1d ago
Completed
1d ago (00:02)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "103256",
"date" => "2026-03-06",
"query" => "users_reached",
"window_days" => 7
}
Meta
%{
"deps" => ["generate_event_counts"],
"name" => "generate_users_reached",
"on_hold" => false,
"orig_scheduled_at" => 1772760145886238,
"recorded" => true,
"return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGgPKZdOKs3MSUktik8tS80riUdRkchQLpFXUBxfXFpUllqJLgcA13Eetw",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-795d-74ec-affa-320db79d4c3d"
}
Recorded Output
%{
users_reached: 34644,
builder_event_users_reached: 0,
nps_survey_users_reached: 0
}
Errors
Attempt 1—1d ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"al build))\n"
# 2
40
# 3
67
# 4
["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offici", " can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "19_15_22488012 (state Active) failed with error. I", "r: <uninitialized>): (while reading column attributes): (attempt to read data part all_14512358_14519", "ckjveivxqoqifdeegdjkfyzix (position: 10585380323, typename: DB::AsynchronousBoundedReadBuffer, compressed data head", "f47e-4b75-bbcb-8441591d3836/mergetree/kxa/gvz", "decompressing ch-s3-3fd/aa8129e2", "1d3:2179, kind: Regular, unbound: 0: While reading or", "82228992, caller id: 05f7f8ac-d517-47ca-9f33-da416a55", "7ca-9f33-da416a5551d3:2179, current write offset: 10", "ate: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 05f7f8ac-d517-", "2, 10586423295], key: d712ba4ac22a74229866ca64f322fa08, s", "1d3:2179, file segment info: File segment: [105822289", "05f7f8ac-d517-47ca-9f33-da416a55", "il_position: 10585506409, internal buffer end: 10583277568, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "jkfyzix, hash key: d712ba4ac22a74229866ca64f322fa08, file_offset_of_buffer_end: 10585380323, read_un", "5-bbcb-8441591d3836/mergetree/kxa/gvzsckjveivxqoqifdeeg", "path: ch-s3-3fd/aa8129e2-f47e-4b", "179, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: 05f7f8ac-d517-47ca-9f33-da416a5551d3:", ": 1048576, downloader id: 05f7f8ac-d517-47ca-9f33-da416a5551d3:2179, current write offset: 1058222899", ", key: d712ba4ac22a74229866ca64f322fa08, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [10582228992, 10586423295", "t/clickhouse-cache/sharedS3DiskCache/d71/d712ba4ac22a74229866ca64f322fa08/10582228992: , errno: 30, strerror: ", "file system: Cannot open file /m", "fa08/10582228992: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/d71/d712ba4ac22a74229866ca64f32"]
(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