19831939 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 09:14.421
Run Time 00:02.576
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "216818",
  "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" => 1772760531398982,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYFCNLpdOKs3MSUktik8tS80riUdXodhdLpFXUBxfXFpUllqJKp3IAAAPfh8J",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a44-742f-999a-921e5d888c99"
}

Recorded Output

%{
  users_reached: 9563,
  builder_event_users_reached: 8587,
  nps_survey_users_reached: 0
}

Errors

Attempt 1—10h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    45

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", "96_70_23386047 (state Active) failed with error. It", "sed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_22717273_23386", "5365, typename: DB::AsynchronousBoundedReadBuffer, compre", "g ch-s3-226/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/seb/qmrsjfrlbyhjowgdfnmjfzowyrobn (position: 229414", ": a7bdbbcd-0bd9-4ad2-a6fe-28223de96a24:2364, kind: Regular, unbound: 0: While reading or decompressi", "ize: 1048576, downloader id: a7bdbbcd-0bd9-4ad2-a6fe-28223de96a24:2364, current write offset: 22938648576, caller i", "e96141488b520b0b7fa13ba, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "6fe-28223de96a24:2364, file segment info: File segment: [22938648576, 22942842879], key: 975f98dd", "last caller: a7bdbbcd-0bd9-4ad2-", "REMOTE_FS_READ_AND_PUT_IN_CACHE,", " 22944524231, internal buffer end: 22939697152, read_type:", "wyrobn, hash key: 975f98ddce96141488b520b0b7fa13ba, file_offset_of_buffer_end: 22941495365, read_until_position", "e info: Buffer path: ch-s3-226/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/seb/qmrsjfrlbyhjowgdfnmjfz", "set: 22938648576, caller id: a7bdbbcd-0bd9-4ad2-a6fe-28223de96a24:2364, kind: Regular, unbound: 0: Cac", "ze: 0, reserved size: 1048576, downloader id: a7bdbbcd-0bd9-4ad2-a6fe-28223de96a24:2364, current write of", "1488b520b0b7fa13ba, state: DOWNLOADING, downloaded s", "-only file system, current cache state: File segment: [22938648576, 22942842879], key: 975f98ddce961", "ache/sharedS3DiskCache/975/975f98ddce96141488b520b0b7fa13ba/22938648576: , errno: 30, strerror: Rea", "13ba/22938648576: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/975/975f98ddce96141488b520b0b7f"]

    (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