19833958 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 14:09.553
Run Time 00:01.098
Inserted 6h ago
Scheduled 5h ago
Completed 5h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "223034",
  "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" => 1772758595829800,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkT1OxDAUhL0NBZsNK4QQDdoKUdBScAtKOizbmc1aOLbxc2I4Cmej4AzcgJcfVtBYmk/znmfsLIS4KicY4DNp8dB+sUgpJBbi+rVsim1aZOmCatBoUX18lvXehUKSDqF4LVaXj6Vqg3IkO0uERomymXWCMocJ1D6SbJCTMpl3M6lG4tEzcqPejDqm0IWMyXAaVQs5WBSOcvZ9XyoyCfAzYsN5F7R1kHiLSBbeYB6zfsnGajtupT4NeD+yiz8sgWLwNE1u0SnLqVXO6GKecq8XRvw8Y41F6tDzdVPThez5/AdChJ+rL8A4a15mi1bec8kl0U2pVYymB8nfb7jd3ZVa99Y1SEe4enr+AY88nXA",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a6d-7e37-81de-b114630c2971"
}

Recorded Output

%{
  events: 3696607,
  errors: 7537,
  widget_loaded: 825819,
  flows_shown: 71247,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 1044788,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  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: 37,
  appcues_events: 2563883,
  builder_events: 87902
}

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

    # 2
    43

    # 3
    67

    # 4
    ["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25", "e) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "ile reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (state Acti", "rqfhqvn (position: 17666164618, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (w", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", " While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b", " offset: 17662214144, caller id: 8a13584f-b2ce-4a49-8da2-668452254660:2337, kind: Regular, unbound: 0", "loaded size: 0, reserved size: 1048576, downloader id: 8a13584f-b2ce-4a49-8da2-668452254660:2337, current writ", "682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, dow", " 17670602751], key: 31211262ceb296d126dc7cad", "337, file segment info: File segment: [17662214144", "ffer end: 17663262720, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 8a13584f-b2ce-4a49-8da2-668452254660:", "666164618, read_until_position: 17668183337, internal b", "96d126dc7cad9682b2e5, file_offset_of_buffer_end: 1", "h: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 31211262ceb", "7, kind: Regular, unbound: 0: Cache info: Buffer pa", ", caller id: 8a13584f-b2ce-4a49-8da2-668452254660:23", ": 1048576, downloader id: 8a13584f-b2ce-4a49-8da2-668452254660:2337, current write offset: 1766221414", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [17662214144, 17670602751", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/17662214144: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/17662214144: , 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