19823615 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 05:11.263
Run Time 00:07.750
Inserted 7h ago
Scheduled 6h ago
Completed 6h ago (00:08)
Cancelled
Discarded

Args

%{
  "account_id" => "126036",
  "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" => 1772760062275237,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGBvKJdOKs3MSUktik8tS80riUdRkbi9XCKvoDi+uLSoLLUSTY4BANf8Hxo",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-794a-7cde-b7ce-4a77cbd9ee2f"
}

Recorded Output

%{
  users_reached: 1920,
  builder_event_users_reached: 183,
  nps_survey_users_reached: 0
}

Errors

Attempt 2—6h ago

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

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

    # 1
    " build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["hedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official", "e error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefet", " to read data part all_14865666_14877006_12_22488012 (state Active) failed with error. It can mean that some retryab", "while reading column timestamp): (attemp", "mckujbuttv (position: 912543744, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): ", "8441591d3836/mergetree/svd/pobmillpaduigjvhyw", "dce:42555, kind: Regular, unbound: 0: While reading or decompressing ch-s3-e75/aa8129e2-f47e-4b75-bbcb", "6d93643e-6030-4d5c-9b7c-9c4b8192", "loaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 914358272, caller id:", "o: File segment: [910163968, 914358271], key: ae511f873d09735081b8bc1516c5bf0d, state: DOWNLOADED, dow", "30-4d5c-9b7c-9c4b8192fdce:42555, file segment in", "_until_position: 912580219, internal buffer end: 2379776, read_type: CACHED, last caller: 6d93643e-6", "jvhywxmckujbuttv, hash key: ae511f873d09735081b8bc1516c5bf0d, file_offset_of_buffer_end: 912543744, rea", "utput error: Cache info: Buffer path: ch-s3-e75/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/svd/pobmillpadui", "516c5bf0d/910163968: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/ae5/ae511f873d09735081b8bc"]

    (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—6h 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
    53

    # 3
    67

    # 4
    ["(CANNOT_READ_FROM_FILE_DESCRIPTO", "se retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread).", " Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Ple", "bound: 0: (while reading column timestamp): (attempt to read data part all_14393058_14394993_10_22488012 (stat", "c2d721-0b0c-4016-bef4-588f1303b5df:2050, kind: Regular, u", ": 4194304, reserved size: 4194304, downloader id: None, current write offset: 188743680, caller id: a", "dc466b5691097a79ef, state: DOWNLOADED, downloaded siz", "ef4-588f1303b5df:2050, file segment info: File segment: [184549376, 188743679], key: b707fa6895294", "last caller: a9c2d721-0b0c-4016-", " 184615250, internal buffer end: 30052, read_type: CACHED,", "yvsrh, hash key: b707fa68952945dc466b5691097a79ef, file_offset_of_buffer_end: 184579428, read_until_position", "ror: Cache info: Buffer path: ch-s3-9ac/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/wni/qbguxxbzduueetjkcswoevg", "1097a79ef/184549376: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/b70/b707fa68952945dc466b56"]

    (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