19833882 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 14:10.221
Run Time 00:04.315
Inserted 6h ago
Scheduled 5h ago
Completed 5h ago (00:05)
Cancelled
Discarded

Args

%{
  "account_id" => "222744",
  "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" => 1772758590763623,
  "recorded" => true,
  "return" => "g1AAAAGoeJxVkT1OxDAQhS0KCtiNVoiCe3ACLsAVLMd5m7VwxpbHySwVNeKQFNBxCZzY4qex9D7Pz3t2VkrdySUWUOZeqc/HIlIKiY2SvbhhRNY+mAFDAddHH4Q1n4KQeZPdGIxnPTnm7XpfdYKxpw10FFkPyMnYXEfuVkKYC/LbilXHFKaQsRVcRTNCLw6y2nn4kh3bBFBFpeBmCr3z0DhHJAeyqG2OmrHSdvEqh3Uwz2nBc/Or5PYPS+AYiLfmAybjinGTM6aYa9TGuDzMmqTJPsxl4xa2kWM5/4EQQTV9A9Y7+1RLekNUcjZH79KZGO0M1j8fcP8iXT87PyD9Qvr4BiBOnVI",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a6c-70e7-8a09-81a6dd2e9653"
}

Recorded Output

%{
  events: 58446,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 139,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 16875,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 649,
  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: 223,
  appcues_events: 13183,
  builder_events: 28387
}

Errors

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
    "dReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "t to read data part all_21886005_22284903_36_22488012 (state Active) failed with error. It can mean that some re", "chronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attem", "position: 33546109723, typename: DB::Asy", "441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb ", ":2390, kind: Regular, unbound: 0: While reading or decompressing ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-", "392, caller id: 81d876e3-b989-407d-9eaa-a1cb18d5826", "d-9eaa-a1cb18d5826c:2390, current write offset: 3354604", "ate: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 66331, downloader id: 81d876e3-b989-40", "2, 33550237695], key: 8bdd623835f487b01cc7ef2def9fca65, s", "d5826c:2390, file segment info: File segment: [335460433", "_FS_READ_AND_PUT_IN_CACHE, last caller: 81d876e3-b989-407d-9eaa-a1cb1", "nd: 33546109723, read_until_position: 33546274101, internal buffer end: 33547091968, read_type: REMOT", "3835f487b01cc7ef2def9fca65, file_offset_of_buffer_", "ath: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb, hash key: 8bdd6", "26c:2390, kind: Regular, unbound: 0: Cache info: Buffer ", "6043392, caller id: 81d876e3-b989-407d-9eaa-a1cb18d5", "9-407d-9eaa-a1cb18d5826c:2390, current write offset: 335", "f2def9fca65, state: DOWNLOADING, downloaded size: 0, reserved size: 66331, downloader id: 81d876e3-b9", "3546043392, 33550237695], key: 8bdd623835f487b01cc7", "9fca65/33546043392: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/33546043392: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

    (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