19821910 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 19:13.991
Run Time 00:12.449
Inserted 11h ago
Scheduled 10h ago
Completed 9h ago (00:13)
Cancelled
Discarded

Args

%{
  "account_id" => "125703",
  "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" => 1772757543049781,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkTFOxDAQRS2Btlg20QpRQMctqKAD0XAGy3FmsxaOx/I4GbgTR+AEdNwBcQ7GSYigsfSfvsf/j7NS6pI3MELI1Ki7RxSREiYyiit2bQdZezQttALODh6ZNB2RQ6PUyQfvOjSedO+IJkc16wTGHidQh0i6hZyMzWXqA+8KCTAI8mSuuCo6JuwxgxieeBtNB3p0wJLo5v2ed2QTQJiRzDzvsXEeNLxESA6ChUK30YUlm6h9mUpDGuF1zXv9zRd/cAKKGEguv/EeeuMkuMkZ+pjntgsj2U1pssgGB3lxKruQg5z/AEYIc/sFWO/s82xpTAjScw1amxjtAKR//+D065PrZnC+hbRCtbn9AfcLnlE",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-791a-7a7a-b546-6e0c94986f61"
}

Recorded Output

%{
  events: 4081775,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 970,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 70,
  nps_neutrals: 25,
  nps_promoters: 77,
  page_views: 3652677,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 8422,
  nps_survey_responses: 172,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 320721,
  builder_events: 1597
}

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

    # 2
    52

    # 3
    67

    # 4
    ["geTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", ". It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing Me", "4790_8_112386651 (state Active) failed with erro", ": (attempt to read data part all_102708_1", " unbound: 0: (while reading column timestamp", "urrent write offset: 511705088, caller id: 4fcce543-5a36-4718-b9f3-8c32663dbbb6:2078, kind: Regular", "82392, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, ", "784, 511705087], key: d1d1f82f97a49fa23d09939d8c", "dbbb6:2078, file segment info: File segment: [50751", " last caller: 4fcce543-5a36-4718-b9f3-8c3266", "9, internal buffer end: 2423023, read_type: CACHED", "r, hash key: d1d1f82f97a49fa23d09939d8ca82392, file_offset_of_buffer_end: 509933807, read_until_position: 5099691", "ror: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/hws/ajstevgyiazrhphpmiswaisfeuy", "d8ca82392/507510784: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d1d/d1d1f82f97a49fa23d0993"]

    (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