19825475 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 09:55.902
Run Time 00:35.663
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:36)
Cancelled
Discarded

Args

%{
  "account_id" => "143483",
  "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" => 1772760317130915,
  "recorded" => true,
  "return" => "g1AAAABaeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliEExwKJdOKs3MSUktik8tS80riUdTwcCjXS6RV1AcX1xaVJZaiSGtpw4Aa2sfGw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-798f-7daf-a139-462cfdcbe764"
}

Recorded Output

%{
  users_reached: 1138752,
  builder_event_users_reached: 3115,
  nps_survey_users_reached: 11815
}

Errors

Attempt 1—5h 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_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["pool: PrefetchedReadPool, algorithm: Thr", "4136_899498_121_22488012: While executing MergeTreeSelect", "at some retryable error happened, or data is corrupted. Please retry the query: While reading part all_8", "2 (state Active) failed with error. It can mean t", "ound: 0: (while reading column timestamp): (attempt to read data part all_894136_899498_121_224880", "nt write offset: 1111490560, caller id: a697a43e-1875-4b02-af69-3b53e39c47a8:44616, kind: Regular, un", ", reserved size: 25165824, downloader id: None, curr", " state: DOWNLOADED, downloaded size: 2516582", "111490559], key: 31928f00d0b8973c66c2c93d3530d4c8", "4616, file segment info: File segment: [1086324736, ", "ion: 1110216196, internal buffer end: 3342028, read_type: CACHED, last caller: a697a43e-1875-4b02-af69-3b53e39c47a8:", "xnmjadshz, hash key: 31928f00d0b8973c66c2c93d3530d4c8, file_offset_of_buffer_end: 1089666764, read_until_posi", "tput error: Cache info: Buffer path: ch-s3-676/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nwz/cexaeiqtxpihmaymkna", "d3530d4c8/1086324736: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/319/31928f00d0b8973c66c2c9"]

    (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