19834114 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 14:09.828
Run Time 00:06.632
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:07)
Cancelled
Discarded

Args

%{
  "account_id" => "223412",
  "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" => 1772758613804278,
  "recorded" => true,
  "return" => "g1AAAAGxeJxVkTFOxDAQRS1WooDd1QpR0FBQcAJuQMchkOU4f7MWjm3NODFb0FBwAQ7BNZnEYYHG0n/6M/7fzkqpm3KOESFzo+6OzyKIIolQZx9lU1zbIWsfTYvWqHK597Gw5kMsQSz3X2XdReNZ9455dmyqJhh7mME2JNYtMhmbZbGQ9UQCBkF+0ptJJ4p9zJgNF8l00KNDkRy3/FbWbAkIFYnhqo+N89B4TSCHYFHHXPjNtnoou2kxDzTiWLGYrv8wAqcYeB7eoTdOgpuc0adc2y6M5XmmJots4iA3zmUXspfzH4gJobZfgPXOvlRLY0KQnqegj75sTUp2AOufn1jRe9k2g/Mt6ATV59M3jQudDg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a70-7775-8b53-5c550d43ca22"
}

Recorded Output

%{
  events: 2193757,
  errors: 646,
  widget_loaded: 0,
  flows_shown: 9639,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 1930109,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 819,
  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: 17004,
  appcues_events: 225922,
  builder_events: 37705
}

Errors

Attempt 1—10h ago

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

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

    # 1
    "ial build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offic", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "state Active) failed with error. It can ", ">): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 ", "byyrqfhqvn (position: 17854436957, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialize", "8441591d3836/mergetree/niy/jcoefmaqpniynhwkpj", "48:2356, kind: Regular, unbound: 0: While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb", "-77d9025b6d48:2356, current write offset: 17850957824, caller id: e99cb070-b53a-49ca-bb3c-77d9025b6", "CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: e99cb070-b53a-49ca-bb3", "ment: [17850957824, 17855152127], key: 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_NO", "77d9025b6d48:2356, file segment info: File se", "fer end: 17852006400, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: e99cb070-b53a-49ca-bb3c", "36957, read_until_position: 17854611808, internal bu", "iy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 17854", " ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "6, kind: Regular, unbound: 0: Cache info: Buffer path", ", caller id: e99cb070-b53a-49ca-bb3c-77d9025b6d48:23", ": 1048576, downloader id: e99cb070-b53a-49ca-bb3c-77d9025b6d48:2356, current write offset: 1785095782", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [17850957824, 17855152127", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/17850957824: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/17850957824: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

    (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