19821923 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 05:50.075
Run Time 00:02.204
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "120116",
  "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" => 1772759835918926,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYJBtLpdOKs3MSUktik8tS80riUdXIXihXCKvoDi+uLSoLLUSVTqRAQAdRx9e",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-791a-7176-8d2a-2fab1a19f5b5"
}

Recorded Output

%{
  users_reached: 7555,
  builder_event_users_reached: 4560,
  nps_survey_users_reached: 0
}

Errors

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

    # 2
    54

    # 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", "hile reading column user_id): (attempt to read data part all_12058504_12396310_52_22488012 (state Active) failed with e", "te offset: 1694498816, caller id: 2ee15ffe-11ad-46b9-adbe-5c2c18d8c8bf:2077, kind: Regular, unbound: 0: (", "te: DOWNLOADED, downloaded size: 8388608, reserved size: 8388608, downloader id: None, current wr", ", 1694498815], key: 482547c9ebc1f3e40d06e86393573888, st", "d8c8bf:2077, file segment info: File segment: [168611020", "osition: 1692564611, internal buffer end: 6385586, read_type: CACHED, last caller: 2ee15ffe-11ad-46b9-adbe-5c2c1", "nknhff, hash key: 482547c9ebc1f3e40d06e86393573888, file_offset_of_buffer_end: 1692495794, read_until_", "t error: Cache info: Buffer path: ch-s3-e8e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ure/wqiltifzldkvsaxnordhwi", "393573888/1686110208: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/482/482547c9ebc1f3e40d06e8"]

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

    # 2
    54

    # 3
    67

    # 4
    ["cuting MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTO", "n mean that some retryable error happened, or data is corrupted. Please retry the query: While ex", " user_id): (attempt to read data part all_12058504_12396310_52_22488012 (state Active) failed with error. It c", "unbound: 0: (while reading colum", " 8c495c72-68f0-44fa-9861-6e9daad37668:2093, kind: Regular,", " current write offset: 1694498816, caller id", "86393573888, state: DOWNLOADED, downloaded size: 8388608, reserved size: 8388608, downloader id: None", "d37668:2093, file segment info: File segment: [1686110208, 1694498815], key: 482547c9ebc1f3e40d06", "osition: 1692564611, internal buffer end: 6385586, read_type: CACHED, last caller: 8c495c72-68f0-44fa-9861-6e9da", "nknhff, hash key: 482547c9ebc1f3e40d06e86393573888, file_offset_of_buffer_end: 1692495794, read_until_", "t error: Cache info: Buffer path: ch-s3-e8e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ure/wqiltifzldkvsaxnordhwi", "393573888/1686110208: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/482/482547c9ebc1f3e40d06e8"]

    (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