19830967 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 03:09.352
Run Time 00:01.559
Inserted 3h ago
Scheduled 1h ago
Completed 1h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "214579",
  "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" => 1772761374536663,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYOD/UC6dVJqZk5JaFJ9alppXEo+uQvpduUReQXF8cWlRWWolqnQiIwA5LR/m",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a30-7e7f-b922-3c35573076df"
}

Recorded Output

%{
  users_reached: 4080,
  builder_event_users_reached: 7150,
  nps_survey_users_reached: 1
}

Errors

Attempt 1—1h ago

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

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

    # 1
    ".10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25", "e) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "ile reading column attributes): (attempt to read data part all_22284904_22717272_59_22712811 (state Acti", " (position: 15262938651, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (w", "compressing ch-s3-bfe/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/mhl/zoyfsiydchbjoddekclxlygyiuuz", "357, kind: Regular, unbound: 0: While reading or d", ", caller id: b45f2937-3657-48ed-9d9e-b6edc6a4694f:", "current write offset: 1525887795", "ownloaded size: 0, reserved size: 1048576, downloader id: b45f2937-3657-48ed-9d9e-b6edc6a4694f:2357,", "fcf52e, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, ", "8877952, 15263072255], key: cfcde61893b81e4dcf4d018d0", "segment info: File segment: [152", "_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: b45f2937-3657-48ed-9d9e-b6edc6a4694f:2357, file", "5264081341, internal buffer end: 15259926528, rea", "ash key: cfcde61893b81e4dcf4d018d05fcf52e, file_offset_of_buffer_end: 15262938651, read_until_position: ", "fer path: ch-s3-bfe/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/mhl/zoyfsiydchbjoddekclxlygyiuuzr, ", "a4694f:2357, kind: Regular, unbound: 0: Cache info: Bu", "d-9d9e-b6edc6a4694f:2357, current write offset: 15258877952, caller id: b45f2937-3657-48ed-9d9e-b6edc", "cf52e, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: b45f2937-3657-48", "nly file system, current cache state: File segment: [15258877952, 15263072255], key: cfcde61893b81e4dcf4d018d05", "he/sharedS3DiskCache/cfc/cfcde61893b81e4dcf4d018d05fcf52e/15258877952: , errno: 30, strerror: Read-", "f52e/15258877952: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-ca", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/cfc/cfcde61893b81e4dcf4d018d05f"]

    (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