19829651
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
2 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
09:58.369
Run Time
00:00.698
Inserted
1d ago
Scheduled
1d ago
Completed
1d ago (00:01)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "210018",
"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" => 1772760441550668,
"recorded" => true,
"return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlUK5dOKs3MSUktik8tS80riUeRTmJgYJQrl8grKI4vLi0qS61ElU50AwDU4B5n",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-79e3-7607-9f78-ac40dc8ce9bb"
}
Recorded Output
%{
users_reached: 38,
builder_event_users_reached: 286,
nps_survey_users_reached: 70
}
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
"ead). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"
# 2
42
# 3
67
# 4
["pool: PrefetchedReadPool, algorithm: Thr", "tryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect", " part all_12396311_12661295_36_22488012 (state Active) failed with error. It can mean that some r", "fer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read dat", "17146685, typename: DB::AsynchronousBoundedReadBu", "ressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn (position: 14", "1, kind: Regular, unbound: 0: While reading or decom", "ae4db3a:1841, current write offset: 14113832960, caller id: 8bf9fa66-8a2c-4c4b-99bf-8997cae4db3a:18", " downloader id: 8bf9fa66-8a2c-4c4b-99bf-8997", "ad9682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576", "3832960, 14118027263], key: 31211262ceb296d126dc7", "segment info: File segment: [141", "_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 8bf9fa66-8a2c-4c4b-99bf-8997cae4db3a:1841, file", "4117301773, internal buffer end: 14114881536, rea", "ash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 14117146685, read_until_position: ", "91d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, ", ":1841, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441", ", caller id: 8bf9fa66-8a2c-4c4b-99bf-8997cae4db3", ": 1048576, downloader id: 8bf9fa66-8a2c-4c4b-99bf-8997cae4db3a:1841, current write offset: 1411383296", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [14113832960, 14118027263", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/14113832960: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/14113832960: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]
(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