19835118 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 14:04.808
Run Time 00:05.174
Inserted 6h ago
Scheduled 5h ago
Completed 5h ago (00:06)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772758659697689,
  "recorded" => true,
  "return" => "g1AAAAGZeJxVkE1uwyAQhVl10TpWVGXRG/RYaIxfHFQMaAab9ii9bTGQtN0g3je/b5JS6i0/YYdPQt/lxxxYSOVTtvOCpF2gGXMBL1cXsmi5heyLHJZATvRqRWr41DSDzK2C0UfRMxKTSa3lcBCPrSBXRxw6clhDQk14jrRA7xZZiPMghgHftcqva5isg8ZnBFt4g1Zj/e9W56OlbLzj68EufxhDYvBSK89YyZaVKSWsMTWTnUm5x+GhyylsZVy12cm1vP9AiPDNdwfGWfPRUibyvjh8bDRSjGaD6H739zxOm3Uz+E7UD+dimCk",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a84-7c94-a71a-b4147a27dc83"
}

Recorded Output

%{
  events: 153,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 0,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 114,
  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: 39,
  builder_events: 0
}

Errors

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

    # 2
    44

    # 3
    67

    # 4
    [" data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: T", "some retryable error happened, o", "7 (state Active) failed with error. It can mean that", "tialized>): (while reading column attributes): (attempt to read data part all_22717273_23386396_70_233860", "jfzowyrobn (position: 28941055424, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unin", "ing or decompressing ch-s3-226/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/seb/qmrsjfrlbyhjowgdfn", "997f45:1860, kind: Regular, unbound: 0: While rea", "697600, caller id: 66dedaa8-0579-411a-a3cd-29d7e", "29d7e1997f45:1860, current write offset: 2894", "CONTINUATION, downloaded size: 0, reserved size: 357824, downloader id: 66dedaa8-0579-411a-a3cd", "ment: [28940697600, 28941075466], key: 975f98ddce96141488b520b0b7fa13ba, state: PARTIALLY_DOWNLOADED_NO", "29d7e1997f45:1860, file segment info: File se", "fer end: 28941075467, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 66dedaa8-0579-411a-a3cd", "941055424, read_until_position: 28941075467, internal bu", "ddce96141488b520b0b7fa13ba, file_offset_of_buffer_end: 2", " path: ch-s3-226/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/seb/qmrsjfrlbyhjowgdfnmjfzowyrobn, hash key: 975f9", "et: 28940697600, caller id: 66dedaa8-0579-411a-a3cd-29d7e1997f45:1860, kind: Regular, unbound: 0: Cache info: Buffe", "ze: 0, reserved size: 357824, downloader id: 66dedaa8-0579-411a-a3cd-29d7e1997f45:1860, current write off", "1488b520b0b7fa13ba, state: DOWNLOADING, downloaded s", "-only file system, current cache state: File segment: [28940697600, 28941075466], key: 975f98ddce961", "ache/sharedS3DiskCache/975/975f98ddce96141488b520b0b7fa13ba/28940697600: , errno: 30, strerror: Rea", "13ba/28940697600: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/975/975f98ddce96141488b520b0b7f"]

    (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