19817602 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 24:00.372
Run Time 00:37.294
Inserted 3h ago
Scheduled 2h ago
Completed 1h ago (00:38)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772756641653696,
  "recorded" => true,
  "return" => "g1AAAAG9eJxNkTFOxDAQRc1qRcHGYYWQWAnKPQEVDZfgApbjzGYtHNvyODtQUXEECk5GRcs5mDghorH0n97Y33YWQuzoHE7gMzbi4eubQ0ohcRD3O5Jk2w6yckG30GpBm4MLhAqPgTwrt59UdUE7VL1FLIaccgJtjtCys45U+4iqhZy0ybw3W9VIPAyM3JjlmGMKfchQhIuoO1AnC8RVLp/uqEKTAPyEWLjqQ2MdKHiJkCx4A9OY9XM9TttxVxzSCV4Xdv2PJcAYPJbJLfTacnGdM/Qxl+r7jjYzRn6hidQzacLAh47amSQ5wwOv/AyPCwgRfJFu3pZJ46x5LnD1QbLR3vOdl4K1jtEMgOrvV9Y/71Q3g3UtpAWK1f4XMXmfAQ",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-789c-7ea2-848a-cec74673bf9f"
}

Recorded Output

%{
  events: 3725277,
  errors: 12824,
  widget_loaded: 0,
  flows_shown: 7065,
  goals_missed: 0,
  goals_reached: 1136,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 1004060,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 9319,
  emails_sent: 9319,
  emails_bounced: 269,
  emails_failed: 61,
  emails_opened: 6015,
  emails_clicked: 661,
  banners_shown: 0,
  appcues_events: 321157,
  builder_events: 548
}

Errors

Attempt 1—2h ago

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

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

    # 1
    ".10.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["g MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25", "n that some retryable error happened, or data is corrupted. Please retry the query: While executi", "estamp): (attempt to read data part all_389538_391923_8_112386651 (state Active) failed with error. It can me", "r id: 9392f8a4-3986-4566-92f5-f922955e67ef:41626, kind: Regular, unbound: 0: (while reading column ti", "ed size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 100663296, call", "a7a6aac7c5a4ee5c91f09d66c82, state: DOWNLOADED, downloa", "[96468992, 100663295], key: e361", "file segment info: File segment:", "rnal buffer end: 2442738, read_type: CACHED, last caller: 9392f8a4-3986-4566-92f5-f922955e67ef:41626,", "qnvwc, hash key: e3617a7a6aac7c5a4ee5c91f09d66c82, file_offset_of_buffer_end: 98911730, read_until_position: 98941773, int", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/hlh/egsxblsefnjpzthovxyuuzx", "f09d66c82/96468992: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e36/e3617a7a6aac7c5a4ee5c9"]

    (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