19818251 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 06:54.452
Run Time 00:01.519
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "23002",
  "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" => 1772759403476843,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYBDtL5dOKs3MSUktik8tS80riUdRkShYLpFXUBxfXFpUllqJJscAAMwIHpE",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78b4-75b1-8d84-37a236c7b0df"
}

Recorded Output

%{
  users_reached: 5519,
  builder_event_users_reached: 17,
  nps_survey_users_reached: 0
}

Errors

Attempt 2—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
    "DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["y the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_", "iled with error. It can mean that some retryable error happened, or data is corrupted. Please ret", "ing column timestamp): (attempt to read data part all_13710811_14319854_46_22488012 (state Active) f", " write offset: 15728640, caller id: cc875959-56de-47b4-9da3-bf8e30ec2d4b:2080, kind: Regular, unbound: 0: (while rea", ": PARTIALLY_DOWNLOADED, downloaded size: 3145728, reserved size: 3145728, downloader id: None, curren", " key: 679ccc57e1c111ce28088055ee25aaf5, stat", "0, file segment info: File segment: [12582912, 16777215]", "ion: 14577894, internal buffer end: 1628319, read_type: CACHED, last caller: cc875959-56de-47b4-9da3-bf8e30ec2d4b:20", "tcopfj, hash key: 679ccc57e1c111ce28088055ee25aaf5, file_offset_of_buffer_end: 14211231, read_until_posi", " error: Cache info: Buffer path: ch-s3-3e1/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vxz/zzndxzunhrbdgxkplpknsr", "5ee25aaf5/12582912: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/679/679ccc57e1c111ce280880"]

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

    # 2
    52

    # 3
    67

    # 4
    [" MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (vers", "ith error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executin", " column timestamp): (attempt to read data part all_13710811_14319854_46_22488012 (state Active) failed ", "06:2102, kind: Regular, unbound: 0: (while readin", "8640, caller id: a8004f01-1d7a-46dd-88b6-e3765445b", "5728, downloader id: None, current write offset: 157", "size: 3145728, reserved size: 31", "PARTIALLY_DOWNLOADED, downloaded", "777215], key: 679ccc57e1c111ce28088055ee25aaf5, state:", "2, file segment info: File segment: [12582912, 1", "ion: 14577894, internal buffer end: 1628319, read_type: CACHED, last caller: a8004f01-1d7a-46dd-88b6-e3765445b106:21", "tcopfj, hash key: 679ccc57e1c111ce28088055ee25aaf5, file_offset_of_buffer_end: 14211231, read_until_posi", " error: Cache info: Buffer path: ch-s3-3e1/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vxz/zzndxzunhrbdgxkplpknsr", "5ee25aaf5/12582912: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/679/679ccc57e1c111ce280880"]

    (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