19832670 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 14:12.707
Run Time 00:13.778
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:14)
Cancelled
Discarded

Args

%{
  "account_id" => "219634",
  "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" => 1772758496151775,
  "recorded" => true,
  "return" => "g1AAAAG3eJxNkU1KBDEQhdMjKjjTzSgiA+48gIg7t7rxFiE/5UwwnYRUekpP4g0EL+JWvIcHcCNY3dM2bgLv471K/RQhxIoOYAuhoJ75rysWOceM6o1qcnYNRfqoLFglaP7gI6HETaSghTj+oMU6Ko+ydYiDo97pDMpswLJndk5NSCgtlKxM6QsLWvQkQMfI97rudcqxjQUGw1FSa5BbB4RavN/c0gJNBggjqu7Orumkjdp5kPCUIDsIBnZJF6YOq8+Wln1t7PIWnneYTaf/WAZMMeAQXkKrHLevSoE2FZ7oh+YjQ94Qy2aUOnb8o1X7VI/kgV8GexOICcKwg+p+ihnvzCO7LqnWKgSedtrmfEWNSsl0gHK8R/X68k2N7py3kP+gEIcXv3Kfojg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a52-7e5c-9762-ea87b253cf10"
}

Recorded Output

%{
  events: 40692784,
  errors: 169,
  widget_loaded: 0,
  flows_shown: 4559,
  goals_missed: 0,
  goals_reached: 539,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 12990786,
  screen_views: 21173810,
  mobile_experiences: 0,
  pins_shown: 119149,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 253,
  emails_sent: 253,
  emails_bounced: 5,
  emails_failed: 3,
  emails_opened: 328,
  emails_clicked: 46,
  banners_shown: 2840,
  appcues_events: 27695096,
  builder_events: 1826
}

Errors

Attempt 1—9h ago

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", " to read data part all_168292753_168900123_42_168895858 (state Active) failed with error. It can mean that some retr", "while reading column timestamp): (attemp", "t write offset: 1157627904, caller id: b80708d1-9d17-4580-8fe7-ebd43b37b06e:44611, kind: Regular, unbound: 0: ", ", reserved size: 4194304, downloader id: None, curre", "8371595a3ab, state: DOWNLOADED, downloaded size: 419430", "153433600, 1157627903], key: 4acbd14f9f38b4f04fae", ": CACHED, last caller: b80708d1-9d17-4580-8fe7-ebd43b37b06e:44611, file segment info: File segment: [", "155655755, internal buffer end: 2188847, read_typ", "yycmbczde, hash key: 4acbd14f9f38b4f04fae78371595a3ab, file_offset_of_buffer_end: 1155622447, read_until_position: ", "tput error: Cache info: Buffer path: ch-s3-a70/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/svn/migkwisovqunywazudv", "71595a3ab/1153433600: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/4ac/4acbd14f9f38b4f04fae78"]

    (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