19835934 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 14:00.717
Run Time 00:01.460
Inserted 19h ago
Scheduled 17h ago
Completed 17h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "112095",
  "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" => 1772758697772542,
  "recorded" => true,
  "return" => "g1AAAAGceJxVkEFOxDAMRTMIIcSUaoRYcJrZcgV2kZv+mYlIkyhOazg1VyBNUwk2kf6Lv/3trJR6kwcs8JkHpQ4fRaQUEpOSZ7HjFVm7QCNGOsvx4oKw5lsQT3fSXQM51pNlLt+lftMJZG4F3EvvI+sROZHJW8tuJR5zQa6OWHVMYQoZteAp0hV6sRCmd+nYJMA3reRlCoN10PiKSBbeYPNYv6dSclpb8pwWfDf2KK9/WALH4Lk6T5jIlsiUM6aY6xbHxricpMi+ySHMZVxds5FLef+BEOEr2D3GWfO5lQzkfdmwJeqlpxjNDNbb6elH+mG2bkTayeEX3taY4g",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a95-7a5c-91b7-3675273b75f0"
}

Recorded Output

%{
  events: 344,
  errors: 0,
  widget_loaded: 62,
  flows_shown: 2,
  goals_missed: 0,
  goals_reached: 4,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 71,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 8,
  nps_survey_responses: 0,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 14,
  appcues_events: 239,
  builder_events: 1
}

Errors

Attempt 1—17h ago

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

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

    # 1
    "al build))\n"

    # 2
    45

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offici", "at some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "1 (state Active) failed with error. It can mean t", "tialized>): (while reading column attributes): (attempt to read data part all_22284904_22717272_59_227128", "xlygyiuuzr (position: 9332768589, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unin", "ing or decompressing ch-s3-bfe/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/mhl/zoyfsiydchbjoddekc", "a6fd793aa09:2332, kind: Regular, unbound: 0: While rea", "b19-454f-a0c3-6a6fd793aa09:2332, current write offset: 9332326400, caller id: 7b77a9f7-fb19-454f-a0c3-", "NTINUATION, downloaded size: 0, reserved size: 442189, downloader id: 7b77a9f7-", "ment: [9332326400, 9336520703], key: cfcde61893b81e4dcf4d018d05fcf52e, state: PARTIALLY_DOWNLOADED_NO_C", "f-a0c3-6a6fd793aa09:2332, file segment info: File se", "nternal buffer end: 9333374976, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 7b77a9f7-fb19-45", "61893b81e4dcf4d018d05fcf52e, file_offset_of_buffer_end: 9332768589, read_until_position: 9332825512, ", "ffer path: ch-s3-bfe/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/mhl/zoyfsiydchbjoddekclxlygyiuuzr, hash key: cfcd", "aa09:2332, kind: Regular, unbound: 0: Cache info: B", "2326400, caller id: 7b77a9f7-fb19-454f-a0c3-6a6fd79", "rved size: 442189, downloader id: 7b77a9f7-fb19-454f-a0c3-6a6fd793aa09:2332, current write offset: 93", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [9332326400, 9336520703], key: cfcde61893b81e4dcf4d018d05fcf52e", "e/sharedS3DiskCache/cfc/cfcde61893b81e4dcf4d018d05fcf52e/9332326400: , errno: 30, strerror: Read-only fi", "f52e/9332326400: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cac", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/cfc/cfcde61893b81e4dcf4d018d05f"]

    (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