19832158 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 09:09.184
Run Time 00:05.871
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:06)
Cancelled
Discarded

Args

%{
  "account_id" => "217579",
  "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" => 1772758461252958,
  "recorded" => true,
  "return" => "g1AAAAGleJxVkUFOwzAQRQ1IXZQkKogFYoXEPdgilpzAmjjT1qpjWx4nA1fhMOy4F+M4RbCx9J/H3//bWSl1zxuc0Wfq1cXXo4iUQiJ44ZbtcMCsXYABB1B8vXeBSdMxsIc3bg4BHOnREi3bbdUJwRwX0PlIesCcwORiecVNIR4nQY5gw23RMYUxZJSBB95GOKCeLbLEUd+f3JBJiL4i8bwdQ28danyPmCx6g4Vuo/XnYIp3xZWmNONHZWJ1+cp3f3BCisGTHH7iHY5gJTjkjGPMterKSB6mNFllHya5cSm7kr2s/0CI6Gv7FRhnzamO9OC99PwN2kGMZkLS5w9QN8/c9ZN1A6YVgvoBB7uasQ",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a49-7165-ba7e-7379e1fbc56b"
}

Recorded Output

%{
  events: 114208,
  errors: 71,
  widget_loaded: 0,
  flows_shown: 81,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 3,
  nps_neutrals: 6,
  nps_promoters: 26,
  page_views: 50586,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 585,
  nps_survey_responses: 35,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 4414,
  builder_events: 0
}

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
    "7375 (official build))\n"

    # 2
    50

    # 3
    67

    # 4
    ["ct(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.", " retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSel", "with error. It can mean that som", "5569329_36369125_44_112386651 (state Active) failed", "0:1486, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_", "4, caller id: c6dac753-cbf3-4aea-abbe-143c35b2a1", "4304, downloader id: None, current write offset: 12624855", "size: 4194304, reserved size: 41", "64a5e8dbb0ec7e5b9, state: DOWNLOADED, downloaded", "1262485503], key: 5a20ed0ede36cf", "info: File segment: [1258291200,", "al buffer end: 246637, read_type: CACHED, last caller: c6dac753-cbf3-4aea-abbe-143c35b2a1d0:1486, file segment", "258537837, read_until_position: 1258565424, inter", "lj/cgawlbtmbewdnuvpzlyfiulcfgtvk, hash key: 5a20ed0ede36cf064a5e8dbb0ec7e5b9, file_offset_of_buffer_end: ", "aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "b0ec7e5b9/1258291200: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-445", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/5a2/5a20ed0ede36cf064a5e8d"]

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

    # 2
    51

    # 3
    67

    # 4
    ["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIP", " error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "69329_36369125_44_112386651 (state Active) failed wit", "4:2096, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_35", "4, caller id: 7c47aaba-58c6-4967-be28-2e60efcfec", "4304, downloader id: None, current write offset: 12624855", "size: 4194304, reserved size: 41", "64a5e8dbb0ec7e5b9, state: DOWNLOADED, downloaded", "1262485503], key: 5a20ed0ede36cf", "info: File segment: [1258291200,", "al buffer end: 246637, read_type: CACHED, last caller: 7c47aaba-58c6-4967-be28-2e60efcfecf4:2096, file segment", "258537837, read_until_position: 1258565424, inter", "lj/cgawlbtmbewdnuvpzlyfiulcfgtvk, hash key: 5a20ed0ede36cf064a5e8dbb0ec7e5b9, file_offset_of_buffer_end: ", "aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "b0ec7e5b9/1258291200: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-445", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/5a2/5a20ed0ede36cf064a5e8d"]

    (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