19834102 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.753
Run Time 01:42.536
Inserted 6h ago
Scheduled 5h ago
Completed 5h ago (01:43)
Cancelled
Discarded

Args

%{
  "account_id" => "223365",
  "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" => 1772758625385178,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkV1KBDEQhLOIPrgz4yI+eIU9VUgytbvBTBLSmYkKghfwBp5H9BKC+OQt7PnZRV8C9VHdqUqyEOK2XGCAz6TX3x+PLFIKibQQZ8+lLrbdI0sXVItWibLeuVBI0iEUz5bzp1Ltg3IkO0s0OepZJyhzQKvFantVGh9JtshJmcy72VWNxKNn5EZdjzqm0IWMyXAZ1R5ysCgcZRAvpSKTAH9Ebz+f5boL2jpI3EckC28wT1q/JGS1GRdTnwY8nNjNH5ZAMXiaJjfolOXsKmd0Mc+FF0b8QiybRerQ83VT34Xs+PwHQoSfwHHGOGvuZotW3nPPU6JGxWh6kFx+YvX+9Voa3VvXIi1QiV9X2KBD",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a70-7f7a-a09a-f991bff27014"
}

Recorded Output

%{
  events: 199477626,
  errors: 896,
  widget_loaded: 0,
  flows_shown: 1405,
  goals_missed: 0,
  goals_reached: 76047,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 7733389,
  screen_views: 13035998,
  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: 0,
  appcues_events: 29942172,
  builder_events: 0
}

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
    "d))\n"

    # 2
    43

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", "d, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", "that some retryable error happen", "mpt to read data part all_12396311_12661295_36_22488012 (state Active) failed with error. It can mean", " <uninitialized>): (while reading column attributes): (att", "niynhwkpjubyyrqfhqvn (position: 17845203231, typename: DB::AsynchronousBoundedReadBuffer, compressed data header", ", unbound: 0: While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaq", "f9923a7-ce25-4fd9-bcb2-8503569f4dea:2272, kind: Regula", "der id: 6f9923a7-ce25-4fd9-bcb2-8503569f4dea:2272, current write offset: 17842569216, caller id: ", "_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downlo", "le segment: [17842569216, 17855152127], key: 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADE", "-ce25-4fd9-bcb2-8503569f4dea:2272, file segment info: F", "ion: 17854436957, internal buffer end: 17843617792, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 6f9923a", "sh key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 17845203231, read_until_posi", "r path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, h", " kind: Regular, unbound: 0: Cache info: Buff", ", caller id: 6f9923a7-ce25-4fd9-bcb2-8503569f4dea:2272", ": 1048576, downloader id: 6f9923a7-ce25-4fd9-bcb2-8503569f4dea:2272, current write offset: 1784256921", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [17842569216, 17855152127", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/17842569216: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/17842569216: , 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