19823343 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 05:18.753
Run Time 00:06.730
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:07)
Cancelled
Discarded

Args

%{
  "account_id" => "112261",
  "date" => "2026-03-06",
  "query" => "users_reached",
  "window_days" => 1
}

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772761096347711,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUkMKpdOKs3MSUktik8tS80riUeVvlYukVdQHF9cWlSWWokmxwAAup4fAw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7944-7ded-afab-68f6e8eb04ba"
}

Recorded Output

%{
  users_reached: 82,
  builder_event_users_reached: 214,
  nps_survey_users_reached: 0
}

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
    "ild))\n"

    # 2
    43

    # 3
    67

    # 4
    ["eadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official bu", "MergeTreeSelect(pool: Prefetched", "ror. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing", "3211_24202138_37_24192759 (state Active) failed with e", "ffer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_238", "tree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (position: 13262975616, typename: DB::AsynchronousBoundedReadB", "963/aa8129e2-f47e-4b75-bbcb-8441591d3836/merg", "047-2471-4872-ba04-5d4e539832c1:1521, kind: Regular, unbound: 0: While reading or decompressing ch-s3", "er id: 8ea5e047-2471-4872-ba04-5d4e539832c1:1521, current write offset: 13262389248, caller id: 8ea5", "_NO_CONTINUATION, downloaded size: 0, reserved size: 586368, downloa", "le segment: [13262389248, 13266583551], key: e2986a5b225503694ca8e4f2183a7502, state: PARTIALLY_DOWNLOADE", "e: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 8ea5e047-2471-4872-ba04-5d4e539832c1:1521, file segment info: F", "61598, internal buffer end: 13263437824, read_ty", "mavzrhe, hash key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 13262975616, read_until_position: 13263", "5-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpv", "path: ch-s3-963/aa8129e2-f47e-4b", "32c1:1521, kind: Regular, unbound: 0: Cache info: Buffer", "389248, caller id: 8ea5e047-2471-4872-ba04-5d4e539", "ize: 0, reserved size: 586368, downloader id: 8ea5e047-2471-4872-ba04-5d4e539832c1:1521, current write offset: 1326", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [13262389248, 13266583551], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/13262389248: , errno: 30, strerror: Rea", "7502/13262389248: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183"]

    (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