19833586 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.309
Run Time 00:08.565
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:09)
Cancelled
Discarded

Args

%{
  "account_id" => "221792",
  "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" => 1772758564131896,
  "recorded" => true,
  "return" => "g1AAAAGxeJxVkT1OAzEUhA0FQWSziiIKpHRwBO6DZXsniRWvbfy8+6DkPJyGjpZLINHh/Qk/jaX5NPM8z85CiBu+QA+fSYvHt0URKYVE6p5XbJs9snRBNWi0qO4+eLlzgUnSIbDXQlx+cbUPypFsLREaJXg16QRlDkNKnL9w7SPJBjkpk4fZgquBeHQFuUGvBh1TaEPGaLiKag/ZW3Dptfl854pMAvyEimHTBm0dJJ4ikoU3mGLW/9Z7eOX1MJi61ON5wsV0/YclUAyexvAarbKlu8oZbczjOsuZUXmhIutZ6tCVG8d9Z7Ir5z8QIvwIThnjrDlOFq28L3vOjc64VjGaDiRPP3Frj1zrzroG6Qcu+u03WSGfhw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a65-7130-8e25-6f0190ec275c"
}

Recorded Output

%{
  events: 7459079,
  errors: 51,
  widget_loaded: 795617,
  flows_shown: 2297,
  goals_missed: 0,
  goals_reached: 641,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 1242840,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 24235,
  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: 1,
  appcues_events: 2255211,
  builder_events: 488987
}

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

    # 2
    45

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "12661295_36_22488012 (state Active) failed with error. It can mean that some retryable error ha", "ressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_12396311", "9121, typename: DB::AsynchronousBoundedReadBuffer, com", "g ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn (position: 174969", ": dd52c29e-20dd-4371-b4b3-b6e8d376791c:2388, kind: Regular, unbound: 0: While reading or decompressi", "ize: 1048576, downloader id: dd52c29e-20dd-4371-b4b3-b6e8d376791c:2388, current write offset: 17494441984, caller i", "RTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "gment info: File segment: [17494441984, 17498636287], key: 31211262ceb296d126dc7cad9682b2e5, state: P", "D_PUT_IN_CACHE, last caller: dd52c29e-20dd-4371-b4b3-b6e8d376791c:2388, file s", "_end: 17496969121, read_until_position: 17497827031, internal buffer end: 17495490560, read_type: REMOTE_FS_READ_A", "262ceb296d126dc7cad9682b2e5, file_offset_of_buffe", "-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 3121", "8, kind: Regular, unbound: 0: Cache info: Buffer path: c", ", caller id: dd52c29e-20dd-4371-b4b3-b6e8d376791c:23", ": 1048576, downloader id: dd52c29e-20dd-4371-b4b3-b6e8d376791c:2388, current write offset: 1749444198", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [17494441984, 17498636287", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/17494441984: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/17494441984: , 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