19821723 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 11:04.670
Run Time 00:01.616
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "126343",
  "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" => 1772759829884904,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGBcWS6dVJqZk5JaFJ9alppXEo+ugt22XCKvoDi+uLSoLLUSVTqRAQANzh7L",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-790b-75c9-a8b6-5dac88eb9ed1"
}

Recorded Output

%{
  users_reached: 425,
  builder_event_users_reached: 1853,
  nps_survey_users_reached: 0
}

Errors

Attempt 1—9h ago

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

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

    # 1
    "OT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    45

    # 3
    67

    # 4
    ["ted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANN", "error happened, or data is corru", " to read data part all_4041632_4292128_32_22488012 (state Active) failed with error. It can mean that some retryable", "while reading column timestamp): (attemp", "tisy (position: 452892241, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): ", "ng or decompressing ch-s3-7a2/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/zjd/ffuixmlhiifuwdgwepugmthc", "ite offset: 450887680, caller id: d51ba372-a1ee-43eb-b920-91e9c31f5a8b:2371, kind: Regular, unbound: 0: While read", "ba372-a1ee-43eb-b920-91e9c31f5a8b:2371, current w", "NTINUATION, downloaded size: 2097152, reserved size: 3145728, downloader id: d5", " info: File segment: [448790528, 452984831], key: 5b131b20181fe4bc4abe13e788f1695f, state: PARTIALLY_DOWNLOADED_NO_C", "a1ee-43eb-b920-91e9c31f5a8b:2371, file segmen", "n: 452970619, internal buffer end: 451936256, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: d51ba372", "sh key: 5b131b20181fe4bc4abe13e788f1695f, file_offset_of_buffer_end: 452892241, read_until_positi", "er path: ch-s3-7a2/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/zjd/ffuixmlhiifuwdgwepugmthcrtisy, h", "c31f5a8b:2371, kind: Regular, unbound: 0: Cache info: Buf", "-43eb-b920-91e9c31f5a8b:2371, current write offset: 450887680, caller id: d51ba372-a1ee-43eb-b920-91e", "NLOADING, downloaded size: 2097152, reserved size: 3145728, downloader id: d51ba372-a1e", ", current cache state: File segment: [448790528, 452984831], key: 5b131b20181fe4bc4abe13e788f1695f, state: DO", "5f/448790528: , errno: 30, strerror: Read-only file syste", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/5b1/5b131b20181fe4bc4abe13e788f16", "695f/448790528: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/5b1/5b131b20181fe4bc4abe13e788f"]

    (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