19816783 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 07:30.985
Run Time 00:04.723
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:05)
Cancelled
Discarded

Args

%{
  "account_id" => "45574",
  "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" => 1772759221410871,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGDcVi6dVJqZk5JaFJ9alppXEo+iIpGhXCKvoDi+uLSoLLUSXQ4Aznsekw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-788a-7b88-bb0d-a703591bbecd"
}

Recorded Output

%{
  users_reached: 438,
  builder_event_users_reached: 0,
  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
    " build))\n"

    # 2
    54

    # 3
    67

    # 4
    [": PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official", "hat some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(poo", "88012 (state Active) failed with error. It can mean ", "part all_21886005_22284903_36_22", "d-90135bf7654e:2114, kind: Regular, unbound: 0: (while reading column name): (attempt to read data", " size: 4194304, downloader id: None, current write offset: 4194304, caller id: ff987709-0c37-44b5-9e", ", key: 7cf750ac18b6955c3c6ef08858fb1f24, state: DOWNLOADED, downloaded size: 4194304, reserve", "654e:2114, file segment info: File segment: [0, 4194303", "ntil_position: 2219731, internal buffer end: 2218984, read_type: CACHED, last caller: ff987709-0c37-44b5-9ebd-90135bf", "mmrhtfazzhqwksm, hash key: 7cf750ac18b6955c3c6ef08858fb1f24, file_offset_of_buffer_end: 2218984, read_", "che info: Buffer path: ch-s3-9e6/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/quy/khyxewysgwjva", "858fb1f24/0: , errno: 5, strerror: Input/output error: C", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/7cf/7cf750ac18b6955c3c6ef0"]

    (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
    "5 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["geTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", ". It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing Me", "hile reading column name): (attempt to read data part all_21886005_22284903_36_22488012 (state Active) failed with erro", "6-c6ccc48dbab1:2106, kind: Regular, unbound: 0: (", "caller id: afae73d2-8c57-454d-80", "e: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 4194304,", "bab1:2106, file segment info: File segment: [0, 4194303], key: 7cf750ac18b6955c3c6ef08858fb1f24, sta", "ntil_position: 2219731, internal buffer end: 2218984, read_type: CACHED, last caller: afae73d2-8c57-454d-8016-c6ccc48", "mmrhtfazzhqwksm, hash key: 7cf750ac18b6955c3c6ef08858fb1f24, file_offset_of_buffer_end: 2218984, read_", "che info: Buffer path: ch-s3-9e6/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/quy/khyxewysgwjva", "858fb1f24/0: , errno: 5, strerror: Input/output error: C", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/7cf/7cf750ac18b6955c3c6ef0"]

    (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