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

Args

%{
  "account_id" => "91574",
  "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" => 1772760683726573,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGD7XC6dVJqZk5JaFJ9alppXEo+iIjG9XCKvoDi+uLSoLLUSTY4BAOmjHzw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7872-771e-80fd-226497e31b81"
}

Recorded Output

%{
  users_reached: 1779,
  builder_event_users_reached: 103,
  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
    "ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", " timestamp): (attempt to read data part all_22284904_22717272_59_22712811 (state Active) failed with error. It", ":2064, kind: Regular, unbound: 0: (while reading colum", "ed size: 8388608, downloader id: None, current write offset: 369098752, caller id: a88044c1-c1b2-420b-837f-b32b153b781", "19049, state: DOWNLOADED, downloaded size: 8388608, reser", "144, 369098751], key: da80b8427261b14d34f24889e3", "b7816:2064, file segment info: File segment: [36071", "sition: 364975219, internal buffer end: 4225592, read_type: CACHED, last caller: a88044c1-c1b2-420b-837f-b32b15", "uicjeixmkiudcxfxulr, hash key: da80b8427261b14d34f24889e3919049, file_offset_of_buffer_end: 364935736, read_until_p", "rror: Cache info: Buffer path: ch-s3-bbd/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/pnt/iaqtvhtrv", "9e3919049/360710144: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/da8/da80b8427261b14d34f248"]

    (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
    "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", "umn timestamp): (attempt to read data part all_22284904_22717272_59_22712811 (state Active) failed with erro", "a08613:2118, kind: Regular, unbound: 0: (while reading co", "erved size: 8388608, downloader id: None, current write offset: 369098752, caller id: fa693eb0-d9b5-4b81-9ca7-b0401", "e3919049, state: DOWNLOADED, downloaded size: 8388608, re", "08613:2118, file segment info: File segment: [360710144, 369098751], key: da80b8427261b14d34f2488", "sition: 364975219, internal buffer end: 4225592, read_type: CACHED, last caller: fa693eb0-d9b5-4b81-9ca7-b04019", "uicjeixmkiudcxfxulr, hash key: da80b8427261b14d34f24889e3919049, file_offset_of_buffer_end: 364935736, read_until_p", "rror: Cache info: Buffer path: ch-s3-bbd/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/pnt/iaqtvhtrv", "9e3919049/360710144: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/da8/da80b8427261b14d34f248"]

    (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