19821322 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 19:55.184
Run Time 00:19.803
Inserted 11h ago
Scheduled 10h ago
Completed 9h ago (00:20)
Cancelled
Discarded

Args

%{
  "account_id" => "82250",
  "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" => 1772757409448825,
  "recorded" => true,
  "return" => "g1AAAAG0eJxVkb1OAzEQhB0hIZE/RYiCgp6ODvEA9DQUFCmsPd8ksfDZlteXhaehA16CgpK3wvdDRBpL82k1O7POSqlLOcUePnOlbt7vikgppCLU6k0WYustsnaBatSVmnz/yGzjgrDmXRBfpm4fZb4N5Fg3lhk1KVkMOoHMrgdLH1nXyIlMLt70JPOOeLQFOaYHWXQ6ptCEjH755ESmkbbQewsp4Gr9JXM2CfADKrbnTaisg8ZLRLLwBh2dRuvHeEWtOmNu0x6vh8jXa7n4hxM4Bs/o137KCg3ZEp9yRhNzX2A2Mi536vqMsgptWdpXHsmmvEcgRPjhBiMwzprnYaQi70vbQ9YlxWhasP77j7P7D1lWrXU10ghJ/QLf2Z7I",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7904-72e1-93ea-772dbe4f93a2"
}

Recorded Output

%{
  events: 3057207,
  errors: 4255,
  widget_loaded: 115145,
  flows_shown: 13651,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 87,
  nps_neutrals: 78,
  nps_promoters: 259,
  page_views: 1858493,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 10075,
  nps_survey_responses: 424,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 607143,
  builder_events: 0
}

Errors

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
    "AD_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["hile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_RE", "lease retry the query: While reading part all_181168269_181540561_36_181539532: ", "happened, or data is corrupted. ", "art all_181168269_181540561_36_181539532 (state Active) failed with error. It can mean that some retryable error", "68e:41634, kind: Regular, unbound: 0: (while reading column user_id.size): (attempt to read data ", "f61c0199-cf5d-4c1e-bb4b-1ef905f7", "loaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 662700032, caller id:", "ent info: File segment: [658505728, 662700031], key: de25782bf0c41f1e04d025bc414030c2, state: DOWNLOADED, dow", "c0199-cf5d-4c1e-bb4b-1ef905f7a68e:41634, file seg", "d: 660694189, read_until_position: 660812816, internal buffer end: 2188461, read_type: CACHED, last caller: f6", "bf0c41f1e04d025bc414030c2, file_offset_of_buffer_e", "a8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ani/kwziycunblyvulmugfzatmlzybjad, hash key: de2578", "c414030c2/658505728: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-f00/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/de2/de25782bf0c41f1e04d025"]

    (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