19832463 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 02:06.466
Run Time 00:01.272
Inserted 7h ago
Scheduled 6h ago
Completed 6h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "218730",
  "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" => 1772761420261471,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUn8US6dVJqZk5JaFJ9alppXEo8qzVAukVdQHF9cWlSWWokuBwDJSB7T",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a4f-7d29-b947-15e66a16b9c9"
}

Recorded Output

%{
  users_reached: 248,
  builder_event_users_reached: 0,
  nps_survey_users_reached: 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
    "TOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIP", " error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "hile reading column attributes): (attempt to read data part all_14319855_14335230_14_22488012 (state Active) failed wit", "-bbd7-b13cdfc47666:2089, kind: Regular, unbound: 0: (", "d size: 4194304, downloader id: None, current write offset: 26558332928, caller id: aed9d127-2833-41c", "downloaded size: 4194304, reserv", "ent info: File segment: [26554138624, 26558332927], key: e779ec0edb31c12a9c652db1ff3304aa, state: DOWNLOADED,", "ternal buffer end: 320645, read_type: CACHED, last caller: aed9d127-2833-41c5-bbd7-b13cdfc47666:2089, file seg", "b31c12a9c652db1ff3304aa, file_offset_of_buffer_end: 26554459269, read_until_position: 26554535572, i", "/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uld/togdpmslstzrxltxvanzipipdclks, hash key: e779ec0e", "1ff3304aa/26554138624: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-04", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e77/e779ec0edb31c12a9c652d"]

    (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
    "ILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["ry: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_F", "led with error. It can mean that some retryable error happened, or data is corrupted. Please retry the qu", "e reading column attributes): (attempt to read data part all_14319855_14335230_14_22488012 (state Active) fa", "-a45d-de6549b0f58b:1012, kind: Regular, unbound: 0: (whi", "d size: 4194304, downloader id: None, current write offset: 26558332928, caller id: 47cb6144-1042-49a", "downloaded size: 4194304, reserv", "ent info: File segment: [26554138624, 26558332927], key: e779ec0edb31c12a9c652db1ff3304aa, state: DOWNLOADED,", "ternal buffer end: 320645, read_type: CACHED, last caller: 47cb6144-1042-49a8-a45d-de6549b0f58b:1012, file seg", "b31c12a9c652db1ff3304aa, file_offset_of_buffer_end: 26554459269, read_until_position: 26554535572, i", "/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uld/togdpmslstzrxltxvanzipipdclks, hash key: e779ec0e", "1ff3304aa/26554138624: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-04", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e77/e779ec0edb31c12a9c652d"]

    (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