19832187 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 03:00.618
Run Time 00:01.175
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "217613",
  "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" => 1772760537628552,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUkUKpdOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCTYB3t",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a49-764a-b592-75a1d695ec1a"
}

Recorded Output

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

Errors

Attempt 2—10h 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
    53

    # 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", "lumn attributes): (attempt to read data part all_2697550_2709541_17_22488012 (state Active) failed with error. ", "9e9c:1151, kind: Regular, unbound: 0: (while reading c", "783744, caller id: f6c3f28a-1147-4ff1-aefc-c6cd52e", "04, downloader id: None, current write offset: 1724", " DOWNLOADED, downloaded size: 4194304, reserved size: 4194", " segment info: File segment: [17238589440, 17242783743], key: 710bae78a1cb997a1c57e4eef0b3a604, state", "uffer end: 2575600, read_type: CACHED, last caller: f6c3f28a-1147-4ff1-aefc-c6cd52e69e9c:1151, fil", "1165040, read_until_position: 17241251357, internal ", "a1cb997a1c57e4eef0b3a604, file_offset_of_buffer_end: 172", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ghg/bzqoircyxsyssyztlfajyalbtyeqq, hash key: 710bae7", "ef0b3a604/17238589440: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-9e4/a", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/710/710bae78a1cb997a1c57e4"]

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

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

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

    # 1
    "l, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["or happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPoo", "ead data part all_2697550_2709541_17_22488012 (state Active) failed with error. It can mean that some retryable er", "column attributes): (attempt to ", "1e4a:2092, kind: Regular, unbound: 0: (while reading", "783744, caller id: 226cd9ee-8d9f-4e57-a8de-3e217fe", "04, downloader id: None, current write offset: 1724", " DOWNLOADED, downloaded size: 4194304, reserved size: 4194", " segment info: File segment: [17238589440, 17242783743], key: 710bae78a1cb997a1c57e4eef0b3a604, state", "uffer end: 2575600, read_type: CACHED, last caller: 226cd9ee-8d9f-4e57-a8de-3e217fe41e4a:2092, fil", "1165040, read_until_position: 17241251357, internal ", "a1cb997a1c57e4eef0b3a604, file_offset_of_buffer_end: 172", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ghg/bzqoircyxsyssyztlfajyalbtyeqq, hash key: 710bae7", "ef0b3a604/17238589440: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-9e4/a", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/710/710bae78a1cb997a1c57e4"]

    (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