19826542 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 10:03.035
Run Time 00:14.791
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:15)
Cancelled
Discarded

Args

%{
  "account_id" => "206121",
  "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" => 1772758173492296,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkctNxDAQhs1DHCCJVogDPWwLVEALezB+/Js169iWx4nhRAW0QgG0QgF0wIkDzoMILpa+T/+MZ+zEGLvNFxjgEsmz+9e7AjH6SJKdHB9znY1ukbj1QkMLlq/21mfidPDZSXa+/chV64Ul3hmiKVHPHCHUAVoytnvLjQvENVIUKpXeJVWNxqEvyo5cjxyi73zCFLgMogUfDDLJ05ev91yRioCbVQlcd14aC46ngGjgFOYy45bxCm3GrtTHAc+ru/njIih4R1PlBp0wZXCRErqQ5m0XR+V5CjYLSt+X66ZlF7Mv5z/hA9wkfmuUNeo4R6Rwriy5TtSIEFQP4ss3MPNAuZG9sRpxlbvvzx+kb6Co",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79a7-74ab-a720-98224a6c89c9"
}

Recorded Output

%{
  events: 55217468,
  errors: 93034,
  widget_loaded: 0,
  flows_shown: 273371,
  goals_missed: 0,
  goals_reached: 23470,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 41940666,
  screen_views: 0,
  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: 0,
  appcues_events: 6905971,
  builder_events: 6028519
}

Errors

Attempt 2—5h ago

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

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

    # 1
    "chedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["12: While executing MergeTreeSelect(pool: Prefet", "d, or data is corrupted. Please retry the query: While reading part all_151467758_152503564_51_152495", " all_151467758_152503564_51_152495012 (state Active) failed with error. It can mean that some retryable error happen", ":41291, kind: Regular, unbound: 0: (while reading column user_id.size): (attempt to read data par", "ownloader id: None, current write offset: 1803550720, caller id: 7e1261a2-2930-4b47-8c74-48fb6f8da0f", "2b46f732090b4b49f583fcaf1d8874, state: DOWNLOADED, downloaded size: 8388608, reserved size: 8388608, ", "[1795162112, 1803550719], key: 6", "c74-48fb6f8da0fa:41291, file segment info: File segment:", " None, read_type: CACHED, last caller: 7e1261a2-2930-4b47-", "6, read_until_position: 1798324734, internal buffer end", "9f583fcaf1d8874, file_offset_of_buffer_end: 17983131", "2-f47e-4b75-bbcb-8441591d3836/mergetree/mja/bkciwvrrxwqaepfbechhrazungslj, hash key: 6e2b46f732090b4b", "8874/1795162112: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-a96/aa8129", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/6e2/6e2b46f732090b4b49f583fcaf1"]

    (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—5h ago

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

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

    # 1
    "refetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["e retry the query: While reading part all_151467758_152503564_51_152495012: While executing MergeTreeSelect(pool: P", "t can mean that some retryable error happened, or data is corrupted. Plea", "03564_51_152495012 (state Active) failed with error. ", "read data part all_151467758_152", "1-2a86b7d6507a:44801, kind: Regular, unbound: 0: (while reading column user_id.size): (attempt to", "caller id: 12f662af-4212-41da-b7", "ded size: 8388608, reserved size: 8388608, downloader id: None, current write offset: 1803550720,", "90b4b49f583fcaf1d8874, state: DOWNLOADED, downlo", "7a1-2a86b7d6507a:44801, file segment info: File segment: [1795162112, 1803550719], key: 6e2b46f732", " None, read_type: CACHED, last caller: 12f662af-4212-41da-", "6, read_until_position: 1798324734, internal buffer end", "9f583fcaf1d8874, file_offset_of_buffer_end: 17983131", "2-f47e-4b75-bbcb-8441591d3836/mergetree/mja/bkciwvrrxwqaepfbechhrazungslj, hash key: 6e2b46f732090b4b", "8874/1795162112: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-a96/aa8129", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/6e2/6e2b46f732090b4b49f583fcaf1"]

    (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