19822942 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 18:10.898
Run Time 00:05.291
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:06)
Cancelled
Discarded

Args

%{
  "account_id" => "101295",
  "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" => 1772757705541039,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkU1OAzEMhcOmSO20qhBIlXqAwpotO1acoYvIybidqJkkijNjuAb34iRcAs9PEWwivU/Oy3tOUUrteIE9hkJGHV9vReQcs4jF0fOaXX3Gon2EGmujHvafvDr5yKSpiRyMuvl+4eocwZNuHRHWoHg96YxgmxFsQiJdY8lgi3jDgauBBOwEeYIdrwedcmxjQRl44mWCM+reIUuUx/0bV2QzYpiQeN610TiPGt8TZofB4kCXyYU5m6jt4Epd7vHjmldVX3z/B2ekFAPJ5Ya32IKT4FAKtqmM0VczI9nQ0GSWJnby4lh2Jic5/4GYMEztZ2C9s5dpxEAI0vM36AZSsh2Svv7E84F5Yzrna8wzBPUDayydYA",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-793d-7311-a408-47077bf386c3"
}

Recorded Output

%{
  events: 5980935,
  errors: 416620,
  widget_loaded: 1383314,
  flows_shown: 125756,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 39,
  nps_neutrals: 24,
  nps_promoters: 41,
  page_views: 2628425,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 3277,
  nps_survey_responses: 104,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 3352439,
  builder_events: 0
}

Errors

Attempt 1—3h ago

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

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

    # 1
    "algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["ata is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, ", "112386651 (state Active) failed with error. It can mean that some retryable error happened, or ", "sed data header: <uninitialized>): (while reading column timestamp): (attempt to read data part all_223238_225558_8", "4, typename: DB::AsynchronousBoundedReadBuffer, compre", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/kid/zhdyjtkkhggbtxiywioupszdeledg (position: 4952947", "reading or decompressing ch-s3-a", "set: 494927872, caller id: 922deda6-126b-4ff9-b7b0-830d93473240:1535, kind: Regular, unbound: 0: While", "26b-4ff9-b7b0-830d93473240:1535, current write of", "DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 366892, downloader id: 922deda6-", "f07df00a7dfd540431b025f51113e5e, state: PARTIALLY", "t caller: 922deda6-126b-4ff9-b7b0-830d93473240:1535, file segment info: File segment: [494927872, 499122175], key: ", " 495976448, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, la", "4764, read_until_position: 495325502, internal buffer end", "dfd540431b025f51113e5e, file_offset_of_buffer_end: 4952", "ath: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/kid/zhdyjtkkhggbtxiywioupszdeledg, hash key: 1f07df00a", "et: 494927872, caller id: 922deda6-126b-4ff9-b7b0-830d93473240:1535, kind: Regular, unbound: 0: Cache info: Buffer ", "ze: 0, reserved size: 366892, downloader id: 922deda6-126b-4ff9-b7b0-830d93473240:1535, current write off", "state: DOWNLOADING, downloaded s", "872, 499122175], key: 1f07df00a7dfd540431b025f51113e5e,", "5e/494927872: , errno: 30, strerror: Read-only file system, current cache state: File segment: [49492", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/1f0/1f07df00a7dfd540431b025f51113", "3e5e/494927872: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/1f0/1f07df00a7dfd540431b025f511"]

    (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