19817551 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 07:18.508
Run Time 00:01.458
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "40028",
  "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" => 1772759283167083,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUkUK5dOKs3MSUktik8tS80riUeRTmJgMAopl8grKI4vLi0qS61ElU5kAADchh54",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-789a-703e-bd16-ac7907b8b2b9"
}

Recorded Output

%{
  users_reached: 22,
  builder_event_users_reached: 12884,
  nps_survey_users_reached: 0
}

Errors

Attempt 2—5h ago

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["e retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_", "t can mean that some retryable error happened, or data is corrupted. Plea", "eading column name): (attempt to read data part all_4041632_4292128_32_22488012 (state Active) failed with error. ", "set: 4194304, caller id: a2eee143-bba6-4c2c-bf8b-57dab3b4c544:2116, kind: Regular, unbound: 0: (while ", ": DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current write of", "194303], key: 0e4b3cb1885cd9f6d539604f6f9ef014, stat", "segment info: File segment: [0, ", "ACHED, last caller: a2eee143-bba6-4c2c-bf8b-57dab3b4c544:2116, file", "buffer end: 1256814, read_type: ", "zr, hash key: 0e4b3cb1885cd9f6d539604f6f9ef014, file_offset_of_buffer_end: 1256814, read_until_position: 1257022, internal", ": Cache info: Buffer path: ch-s3-d48/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rsz/ollrwcqiewupxekiunkjucrdcj", "f6f9ef014/0: , errno: 5, strerror: Input/output erro", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/0e4/0e4b3cb1885cd9f6d53960"]

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

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["e retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_", "t can mean that some retryable error happened, or data is corrupted. Plea", "eading column name): (attempt to read data part all_4041632_4292128_32_22488012 (state Active) failed with error. ", "set: 4194304, caller id: cd9a5b76-0a59-43a3-b793-2a4f3d5da82b:2118, kind: Regular, unbound: 0: (while ", ": DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current write of", "194303], key: 0e4b3cb1885cd9f6d539604f6f9ef014, stat", "segment info: File segment: [0, ", "ACHED, last caller: cd9a5b76-0a59-43a3-b793-2a4f3d5da82b:2118, file", "buffer end: 1256814, read_type: ", "zr, hash key: 0e4b3cb1885cd9f6d539604f6f9ef014, file_offset_of_buffer_end: 1256814, read_until_position: 1257022, internal", ": Cache info: Buffer path: ch-s3-d48/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rsz/ollrwcqiewupxekiunkjucrdcj", "f6f9ef014/0: , errno: 5, strerror: Input/output erro", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/0e4/0e4b3cb1885cd9f6d53960"]

    (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