19833334 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 14:10.399
Run Time 00:18.226
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:19)
Cancelled
Discarded

Args

%{
  "account_id" => "221215",
  "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" => 1772758563428314,
  "recorded" => true,
  "return" => "g1AAAAGxeJxVkTFOxDAURL0LooAkWgHFVlyCg9DTWLYzm7VwbOPvxCBxAg5AwQWoabkAHafhADhxFkFjaZ7mf8/YkTG2TScYYSPJ4/v3myxCcIEkY+t1qpNuO0RunGjRCpbOdsYl4rR3yUq2+r5IVeeEId5rotlRFx0g1H4GjfXEW8QgVMyLM6kmYjFkZCZdT9oH17uI2XDqRQc+aiSS65frPEEqALagbDjvndQGHA8eQcMqlDFtf7Ntnz7TZlpMQxjxWHA2Xf5hAeSdpXl4g17oHFzEiN7H0nZhlJ9narJI6YZ841x2Ibt8/gPOw5b2C1BGq7tikcLa3PMQ9Oj1NjXCezWA+PIT7OvtOTVy0KZFOMBV9XH1A7aZn4E",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a60-7963-b87e-f7cce79ee7cf"
}

Recorded Output

%{
  events: 74559823,
  errors: 514,
  widget_loaded: 0,
  flows_shown: 128019,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 43397888,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 1604807,
  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: 236122,
  appcues_events: 13543306,
  builder_events: 17611294
}

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

    # 2
    42

    # 3
    67

    # 4
    ["refetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 ", "e query: While reading part all_178933841_179349390_39_179346738: While executing MergeTreeSelect(pool: ", "ailed with error. It can mean that some retryable error happened, or data is corrupted. Please retry t", "ed>): (while reading column user_id.size): (attempt to read data part all_178933841_179349390_39_179346738 (state Active) ", "zezehxlw (position: 1663175017, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitiali", "e reading or decompressing ch-s3-ad3/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ttx/qtgwxztngtsddohhqcjr", "-3def25eb6826:2376, kind: Regular, unbound: 0: Whi", "14-4771-8f42-3def25eb6826:2376, current write offset: 1660944384, caller id: 31c8f9bb-8c14-4771-8f4", "ON, downloaded size: 0, reserved size: 1048576, downloader id: 31c8f9bb-8", "83e545, state: PARTIALLY_DOWNLOADED_NO_CONTINUAT", " 1669332991], key: d444c7da6c6fa96a48dec7ec4", "826:2376, file segment info: File segment: [1660944384", "31c8f9bb-8c14-4771-8f42-3def25eb", "on: 1666163334, internal buffer end: 1661992960, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "sh key: d444c7da6c6fa96a48dec7ec4083e545, file_offset_of_buffer_end: 1663175017, read_until_posit", "th: ch-s3-ad3/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ttx/qtgwxztngtsddohhqcjrpzezehxlw, h", "26:2376, kind: Regular, unbound: 0: Cache info: Buffer p", "60944384, caller id: 31c8f9bb-8c14-4771-8f42-3def25eb6", "c14-4771-8f42-3def25eb6826:2376, current write offset: 1", "WNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 31c8f9bb-", "ystem, current cache state: File segment: [1660944384, 1669332991], key: d444c7da6c6fa96a48dec7ec4083e545, state: D", "660944384: , errno: 30, strerror: Read-only file ", "le system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/d44/d444c7da6c6fa96a48dec7ec4083e545/", "e545/1660944384: , errno: 30, strerror: Read-only f", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/d44/d444c7da6c6fa96a48dec7ec408"]

    (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