20035931 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 04:51.150
Run Time 00:00.925
Inserted 5h ago
Scheduled 4h ago
Completed 3h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "79807",
  "date" => "2026-03-08",
  "query" => "users_reached",
  "window_days" => 1
}

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772932357555887,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGCXL5dOKs3MSUktik8tS80riUdXwbSpXCKvoDi+uLSoLLUSVTqRAQD59B63",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019ccacc-2ba6-7d29-8d07-d8569828a10c"
}

Recorded Output

%{
  users_reached: 1823,
  builder_event_users_reached: 690,
  nps_survey_users_reached: 0
}

Errors

Attempt 1—4h ago

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

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

    # 1
    "25 (official build))\n"

    # 2
    63

    # 3
    67

    # 4
    ["ory to be freed is reached: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 25.10.1.75", "decision: Waiting timeout for me", "), current RSS: 314.12 GiB, maximum: 320.40 GiB. OvercommitTracker", "de: 241. DB::Exception: (total) memory limit exceeded: would use 324.05 GiB (attempt to allocate chunk of 0.00 "]

    (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