19833827
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.158
Queue Time
02:54.231
Run Time
00:02.988
Inserted
3h ago
Scheduled
1h ago
Completed
1h ago (00:03)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "222611",
"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" => 1772760590972379,
"recorded" => true,
"return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkK5dOKs3MSUktik8tS80riUeRTmJgYGQsl8grKI4vLi0qS61ElU5kAADJcR3k",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a6a-7965-80b2-cb8311d8de0d"
}
Recorded Output
%{
users_reached: 6,
builder_event_users_reached: 257,
nps_survey_users_reached: 0
}
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
".10.1.7375 (official build))\n"
# 2
43
# 3
67
# 4
["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25", "e) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "ile reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (state Acti", "rqfhqvn (position: 17659571200, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (w", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", " While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b", " offset: 17658019840, caller id: 8a0bbb58-09d9-4e29-84aa-cff6ddbb4597:2374, kind: Regular, unbound: 0", "loaded size: 0, reserved size: 1048576, downloader id: 8a0bbb58-09d9-4e29-84aa-cff6ddbb4597:2374, current writ", "682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, dow", " 17662214143], key: 31211262ceb296d126dc7cad", "374, file segment info: File segment: [17658019840", "ffer end: 17659068416, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 8a0bbb58-09d9-4e29-84aa-cff6ddbb4597:", "659571200, read_until_position: 17659647064, internal b", "96d126dc7cad9682b2e5, file_offset_of_buffer_end: 1", "h: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 31211262ceb", ":2374, kind: Regular, unbound: 0: Cache info: Buffer pa", ", caller id: 8a0bbb58-09d9-4e29-84aa-cff6ddbb459", ": 1048576, downloader id: 8a0bbb58-09d9-4e29-84aa-cff6ddbb4597:2374, current write offset: 1765801984", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [17658019840, 17662214143", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/17658019840: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/17658019840: , 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
Attempt 1—2h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
""
# 2
41
# 3
67
# 4
[" (version 25.10.1.7375 (official build))\n", " PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE", "me retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool", "012 (state Active) failed with error. It can mean that s", "nitialized>): (while reading column attributes): (attempt to read data part all_12746906_13029460_34_2248", "AsynchronousBoundedReadBuffer, compressed data header: <un", "bcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwzymmvxcji (position: 16037366393, typename: DB:", "0bad5f2f:1077, kind: Regular, unbound: 0: While reading or decompressing ch-s3-e63/aa8129e2-f47e-4b75-", "34824192, caller id: 1ca6cdf5-38cd-4085-855f-b5d", "cd-4085-855f-b5df0bad5f2f:1077, current write offset: 16", "ON, downloaded size: 0, reserved size: 1048576, downloader id: 1ca6cdf5-3", "egment: [16034824192, 16039018495], key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: PARTIALLY_DOWNLOADED_NO_CONTINUAT", "085-855f-b5df0bad5f2f:1077, file segment info: File ", "rnal buffer end: 16035872768, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 1ca6cdf5-38cd-", "6037366393, read_until_position: 16037460778, int", "0cdf0be15fcfbd2de8f5a2078a, file_offset_of_buffer_end: ", " path: ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwzymmvxcji, hash key: f4c4f", "077, kind: Regular, unbound: 0: Cache info: Buffe", ", caller id: 1ca6cdf5-38cd-4085-855f-b5df0bad5f2f:", ": 1048576, downloader id: 1ca6cdf5-38cd-4085-855f-b5df0bad5f2f:1077, current write offset: 1603482419", ", key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [16034824192, 16039018495", "t/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a2078a/16034824192: , errno: 30, strerror: ", "file system: Cannot open file /m", "078a/16034824192: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a"]
(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