19822119 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 05:47.989
Run Time 00:00.466
Inserted 3h ago
Scheduled 2h ago
Completed 1h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "88127",
  "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" => 1772759867460910,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGAqLpdOKs3MSUktik8tS80riUdRkbitXCKvoDi+uLSoLLUSTU4EANO2Hxs",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-792a-7ff9-a5b9-9bc716492024"
}

Recorded Output

%{
  users_reached: 627,
  builder_event_users_reached: 182,
  nps_survey_users_reached: 20
}

Errors

Attempt 2—2h ago

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

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

    # 1
    "5 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["geTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", ". It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing Me", "umn timestamp): (attempt to read data part all_23863211_24202138_37_24192759 (state Active) failed with erro", "da:2031, kind: Regular, unbound: 0: (while reading co", "4704, caller id: d7b57ca3-9cd7-4568-bd62-7ba5343ee", "04, downloader id: None, current write offset: 4236", "y: e3dd5cce29b78d675e4b7476d405db24, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194", "57ca3-9cd7-4568-bd62-7ba5343ee5da:2031, file segment info: File segment: [419430400, 423624703], k", "d: 421774699, read_until_position: 421796447, internal buffer end: 2344299, read_type: CACHED, last caller: d7", " e3dd5cce29b78d675e4b7476d405db24, file_offset_of_buffer_e", "h-s3-5f3/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/eot/vawfahxivryxbwmojtnrywzzbulqx, hash key", "error: Cache info: Buffer path: ", "6d405db24/419430400: , errno: 5, strerror: Input/output", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e3d/e3dd5cce29b78d675e4b74"]

    (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—2h ago

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

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

    # 1
    "375 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["eadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7", "MergeTreeSelect(pool: Prefetched", "ror. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing", "g column timestamp): (attempt to read data part all_23863211_24202138_37_24192759 (state Active) failed with e", "843:2060, kind: Regular, unbound: 0: (while readi", "6c0d0f09-a75d-4460-a0e2-7a686915", "loaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 423624704, caller id:", "ent info: File segment: [419430400, 423624703], key: e3dd5cce29b78d675e4b7476d405db24, state: DOWNLOADED, dow", "d0f09-a75d-4460-a0e2-7a6869151843:2060, file seg", "d: 421774699, read_until_position: 421796447, internal buffer end: 2344299, read_type: CACHED, last caller: 6c", " e3dd5cce29b78d675e4b7476d405db24, file_offset_of_buffer_e", "h-s3-5f3/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/eot/vawfahxivryxbwmojtnrywzzbulqx, hash key", "error: Cache info: Buffer path: ", "6d405db24/419430400: , errno: 5, strerror: Input/output", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e3d/e3dd5cce29b78d675e4b74"]

    (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