19817895 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 07:07.697
Run Time 00:00.243
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "35948",
  "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" => 1772759341168903,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUk8US6dVJqZk5JaFJ9alppXEo8qzVAukVdQHF9cWlSWWokuBwC+CB6j",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78a2-7c8f-b498-94eee22dbd89"
}

Recorded Output

%{
  users_reached: 200,
  builder_event_users_reached: 0,
  nps_survey_users_reached: 0
}

Errors

Attempt 2—18h ago

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

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

    # 1
    "ld))\n"

    # 2
    53

    # 3
    67

    # 4
    ["dReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "yable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetch", "error. It can mean that some ret", "eading column account_id): (attempt to read data part all_18139316_18507107_36_22488012 (state Active) failed with", "set: 2719018, caller id: 4c9b05f0-3598-4d79-88f8-3f0a0d273c6b:2031, kind: Regular, unbound: 0: (while ", ": DOWNLOADED, downloaded size: 2719018, reserved size: 2719018, downloader id: None, current write of", " key: e0632739a1db80bbe833f21408eaa38b, stat", "info: File segment: [0, 2719017]", "ED, last caller: 4c9b05f0-3598-4d79-88f8-3f0a0d273c6b:2031, file segment", "512, internal buffer end: 310457, read_type: CAC", "kcowb, hash key: e0632739a1db80bbe833f21408eaa38b, file_offset_of_buffer_end: 310457, read_until_position: 31", "ror: Cache info: Buffer path: ch-s3-ba0/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/evu/yskvtpgonlspskukkqeufse", "408eaa38b/0: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e06/e0632739a1db80bbe833f2"]

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

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

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

    # 1
    "ld))\n"

    # 2
    53

    # 3
    67

    # 4
    ["dReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "yable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetch", "error. It can mean that some ret", "eading column account_id): (attempt to read data part all_18139316_18507107_36_22488012 (state Active) failed with", "set: 2719018, caller id: 797d6450-dec3-491e-820c-13b8e8273a0e:2093, kind: Regular, unbound: 0: (while ", ": DOWNLOADED, downloaded size: 2719018, reserved size: 2719018, downloader id: None, current write of", " key: e0632739a1db80bbe833f21408eaa38b, stat", "info: File segment: [0, 2719017]", "ED, last caller: 797d6450-dec3-491e-820c-13b8e8273a0e:2093, file segment", "512, internal buffer end: 310457, read_type: CAC", "kcowb, hash key: e0632739a1db80bbe833f21408eaa38b, file_offset_of_buffer_end: 310457, read_until_position: 31", "ror: Cache info: Buffer path: ch-s3-ba0/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/evu/yskvtpgonlspskukkqeufse", "408eaa38b/0: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e06/e0632739a1db80bbe833f2"]

    (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