19834462
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.158
Queue Time
08:39.607
Run Time
00:02.500
Inserted
8h ago
Scheduled
6h ago
Completed
6h ago (00:03)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "224174",
"date" => "2026-03-06",
"query" => "event_counts",
"window_days" => 30
}
Meta
%{
"deps" => ["generate_user_counts"],
"name" => "generate_event_counts",
"on_hold" => false,
"orig_scheduled_at" => 1772758632144679,
"recorded" => true,
"return" => "g1AAAAGieJxVkD1OxDAQhQ0FBSTRClFwAW7AHbbhDtbEeZu1cGzL42Sg40Tcjh47ya6gsfQ+z897k5VSz3KHBT5zr26/fopIKSSmG2nFDiOydoEGDKTk4eSCsOZzEE8v0oyBHOvJMq/f7aYTyJxX0PnIekBOZHIdqaSpxGMuyFXdVh1TmELGWnAfaYReLKTaefuWhk0C/IZKweMUeuug8RGRLLzB1mb9xZiSQ53Kc1rweWVPf1gCx+B57TxgIltcU86YYt5y7ozLVWqMXfZhLuvWpDs5lfcfCBF+i74D46x530p68r6EvDrqKEYzg/Xl+ur1KF0/Wzcg7ZDUL3Zumg4",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a77-703a-ae3f-c15d6c9dcc8e"
}
Recorded Output
%{
events: 164085,
errors: 1,
widget_loaded: 0,
flows_shown: 37,
goals_missed: 0,
goals_reached: 0,
nps_detractors: 0,
nps_neutrals: 0,
nps_promoters: 0,
page_views: 150702,
screen_views: 0,
mobile_experiences: 0,
pins_shown: 0,
nps_survey_shown: 0,
nps_survey_responses: 0,
emails_attempted: 0,
emails_sent: 0,
emails_bounced: 0,
emails_failed: 0,
emails_opened: 0,
emails_clicked: 0,
banners_shown: 0,
appcues_events: 13383,
builder_events: 0
}
Errors
Attempt 2—6h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"R) (version 25.10.1.7375 (official build))\n"
# 2
52
# 3
67
# 4
["(CANNOT_READ_FROM_FILE_DESCRIPTO", "se retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread).", " Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Ple", "ninitialized>): (while reading column attributes): (attempt to read data part all_14896358_14906051_20_22488012 (stat", "ouir (position: 21347399142, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <", " or decompressing ch-s3-bbd/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uqy/ggqgqrnvhtyemnpewyymexdr", "40892bf5:1434, kind: Regular, unbound: 0: While readin", "erved size: 2653140, downloader id: None, current write offset: 21347466196, caller id: 4140b321-5e88-4032-a3a7-00f", ": [21344813056, 21347466195], key: 3077f155d546498ac153f442c7381e7e, state: DOWNLOADED, downloaded size: 2653140, re", "0f640892bf5:1434, file segment info: File segmen", "tion: 21347413826, internal buffer end: 2586086, read_type: CACHED, last caller: 4140b321-5e88-4032-a3a7-", "exdrcouir, hash key: 3077f155d546498ac153f442c7381e7e, file_offset_of_buffer_end: 21347399142, read_until_pos", "tput error: Cache info: Buffer path: ch-s3-bbd/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uqy/ggqgqrnvhtyemnpewyy", "2c7381e7e/21344813056: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/307/3077f155d546498ac153f4"]
(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—6h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"5.10.1.7375 (official build))\n"
# 2
43
# 3
67
# 4
["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 2", " with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "ed>): (while reading column attributes): (attempt to read data part all_13264520_13710807_29_22488012 (state Active) faile", "synchronousBoundedReadBuffer, compressed data header: <uninitiali", "cb-8441591d3836/mergetree/nsf/fvutfviorlbbzyspsjgfgeoahxrjp (position: 21807983448, typename: DB::", "fb6973:2295, kind: Regular, unbound: 0: While reading or decompressing ch-s3-48e/aa8129e2-f47e-4b75-b", "-8ad7-d39bcefb6973:2295, current write offset: 21806186496, caller id: fcbe07a4-5748-474d-8ad7-d39bc", ", downloaded size: 0, reserved size: 1048576, downloader id: fcbe07a4-5748-474", "8632a792db2, state: PARTIALLY_DOWNLOADED_NO_CONTINUATIO", "6186496, 21810380799], key: 9b55d86836d883bd1730", "segment info: File segment: [218", "CHE, last caller: fcbe07a4-5748-474d-8ad7-d39bcefb6973:2295, file", "807235072, read_type: REMOTE_FS_READ_AND_PUT_IN_C", "b2, file_offset_of_buffer_end: 21807983448, read_until_position: 21808005560, internal buffer end: 2", "b-8441591d3836/mergetree/nsf/fvutfviorlbbzyspsjgfgeoahxrjp, hash key: 9b55d86836d883bd173078632a792", "cefb6973:2295, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-48e/aa8129e2-f47e-4b75-bb", "806186496, caller id: fcbe07a4-5748-474d-8ad7-d39", "48-474d-8ad7-d39bcefb6973:2295, current write offset: 2", "LOADING, downloaded size: 0, reserved size: 1048576, downloader id: fcbe07a4-5", "em, current cache state: File segment: [21806186496, 21810380799], key: 9b55d86836d883bd173078632a792db2, state: DOW", "30, strerror: Read-only file sys", "stem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9b5/9b55d86836d883bd173078632a792db2/21806186496: , errno:", "2db2/21806186496: , errno: 30, strerror: Read-only file s", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9b5/9b55d86836d883bd173078632a7"]
(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