19723443 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 04:21.833
Run Time 06:46.996
Inserted 19h ago
Scheduled 17h ago
Completed 17h ago (06:47)
Cancelled
Discarded

Args

%{
  "account_id" => "221440",
  "date" => "2026-03-05",
  "query" => "event_counts",
  "window_days" => 30
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772673259769510,
  "recorded" => true,
  "return" => "g1AAAAG0eJxVkTFOxDAQRS0hRYjdRCtEQU/HDehpaLmAZTs/WQvHtjzODlyDE9DRUSAqJK5CyQE4AU42i6Cx9J7+2DPjLIQ45wo7+Ez69uKrLpBSSKTF8dMl12zbHlm6oFq0asWrzgUmSdvAXovq6obXfVCO5GCJSkJwvecEZbZotRDbZ258JNkiJ2Vyubuk1pPxGItyE9cTxxSGkDEHTqLqIXcWTPqo+3zkNZkE+EWJ99fIp0PQ1kHiPiJZeIN9pfVLh4U208U0ph0eft3ZH5dAMXiaKzcYlC29q5wxxDyPs1oclQ0VbBbUYSzPzfMupivnPxEi/CwONcZZc7ePaOV9mfOwR1Fdc6NiNCNILp9RxZdvbvRoXYt0kEK8ffwAjpaiYg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cbb59-19fa-7000-b9f5-6ceb524d1fd8"
}

Recorded Output

%{
  events: 1378084365,
  errors: 565290,
  widget_loaded: 11,
  flows_shown: 407881,
  goals_missed: 0,
  goals_reached: 26791,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 57073298,
  screen_views: 12235376,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 1604,
  appcues_events: 108048114,
  builder_events: 46269
}

Errors

Attempt 1—17h ago

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

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

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

    # 2
    59

    # 3
    67

    # 4
    ["algorithm: Thread). (MEMORY_LIMI", "om mark 92841 with max_rows_to_read = 3172, offset = 0): While executing MergeTreeSelect(pool: PrefetchedReadPool,", "d_events.event_history_v2 (5f30ce73-d792-4409-8626-e5e307da7fa9) located on disk s3WithKeeperDisk of type s3, f", "e reading from part data/5f30ce73-d792-4409-8626-e5e307da7fa9/all_12058504_12396310_52_22488012/ in table pr", "reading column attributes): (whi", " Waiting timeout for memory to be freed is reached: (while", "iB), current RSS: 291.80 GiB, maximum: 320.40 GiB. OvercommitTracker decision", "de: 241. DB::Exception: (total) memory limit exceeded: would use 320.45 GiB (attempt to allocate chunk of 8.03 "]

    (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