19819418 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 21:47.407
Run Time 00:10.226
Inserted 19h ago
Scheduled 18h ago
Completed 17h ago (00:11)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772757136162354,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkF1OxCAUhYkPxp9OMzHGuItZjo/klp7pECkQLhRdhHvzwQVJodPoC8n5uD/n3CiEeM23WGAjD0K8fBcRggtMIh+yHidEaRyNGAt4PBuXWfLFZUun3E2ODMtZM9fvQ9MBpC4F3OXeepYjYiAV28huJRapIFNXrNoHN7uIWvDgaYJcNPJq5/4td6wCYBsqBU+zG7SBxIdH0LAKrU3bqzGRj+tUTmHB586e/7AA9s5y7TxiJl1cU4yYfWw5N8blKkX2mxxcKutq0o2cy/sPOA9bwbVHGa3eW8lA1paQu6OevFcJLPfr3/zkfkjajAgbpK9fExyZ2g",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78cc-74d7-9c55-dbb49de78459"
}

Recorded Output

%{
  events: 5840,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 47,
  goals_missed: 0,
  goals_reached: 8,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 2391,
  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: 724,
  builder_events: 141
}

Errors

Attempt 1—18h ago

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

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

    # 1
    "d))\n"

    # 2
    40

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "(state Active) failed with error", "lized>): (while reading column timestamp): (attempt to read data part all_16862_22754_9_112386651", "compressed data header: <uniniti", "/iep/rbtdanwksxlymgrotycfwgcfwkfvy (position: 851392473, typename: DB::AsynchronousBoundedReadBuffer,", "r, unbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetre", "afc4-4d9c-98c6-22cc98dd696f:2173, kind: Regul", "r id: cd4c6541-afc4-4d9c-98c6-22cc98dd696f:2173, current write offset: 847249408, caller id: cd4c6541", "reserved size: 1048576, download", " PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", "43711], key: 251a21f9db6dd41a5beb7b6e4d849a88, state", "ller: cd4c6541-afc4-4d9c-98c6-22cc98dd696f:2173, file segment info: File segment: [847249408, 851", "l_position: 851418278, internal buffer end: 848297984, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last c", "9a88, file_offset_of_buffer_end: 851392473, read_unt", "cb-8441591d3836/mergetree/iep/rbtdanwksxlymgrotycfwgcfwkfvy, hash key: 251a21f9db6dd41a5beb7b6e4d8", "6-22cc98dd696f:2173, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-b", "caller id: cd4c6541-afc4-4d9c-98", ": 1048576, downloader id: cd4c6541-afc4-4d9c-98c6-22cc98dd696f:2173, current write offset: 847249408,", "a88, state: DOWNLOADING, downloaded size: 0, reserved siz", "8, 851443711], key: 251a21f9db6dd41a5beb7b6e4d84", " current cache state: File segment: [8472494", "/847249408: , errno: 30, strerror: Read-only file system", " system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/251/251a21f9db6dd41a5beb7b6e4d849a8", "9a88/847249408: , errno: 30, strerror: Read-only fil", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/251/251a21f9db6dd41a5beb7b6e4d8"]

    (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