19833898 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 14:09.931
Run Time 00:09.394
Inserted 6h ago
Scheduled 5h ago
Completed 5h ago (00:10)
Cancelled
Discarded

Args

%{
  "account_id" => "222815",
  "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" => 1772758590921771,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkEtOxDAQRC2EWEASDSMWHISzzNbqODUZC8e23E4a7sEFuCl2EiLYWKrn/lR1Vkq9ygMW+My9Ut+XIlIKielOWrHDiKxdoAEDKXm6uiCs+RbE01maMZBjPVnm9bvddAKZ2wo6H1kPyIlMriOVNJV4zAW5qtuqYwpTyFgLHiON0IuFVDtfb9KwSYDfUCk4T6G3DhofEcnCG2xt1v8aU3KqU3lOCz4P9vKHJXAMntfOEyayxTXljCnmLefOuFylxthlH+aybk26k2t5/4EQ4bfoOzDOmvetpCfvS8jDUUcxmhmsj+u399L1s3UD0g7p+QdYxpjv",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a6c-7c3e-96ce-a5b1e3685dc9"
}

Recorded Output

%{
  events: 41302,
  errors: 2,
  widget_loaded: 0,
  flows_shown: 18,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 37940,
  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: 0,
  appcues_events: 3332,
  builder_events: 17
}

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

    # 2
    43

    # 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", ": (attempt to read data part all_12396311", "(while reading column attributes", "vn (position: 17665280680, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>):", "ecompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfh", "e:2296, kind: Regular, unbound: 0: While reading or ", "44, caller id: f6122084-a690-4b8e-9c7f-5e1a5c9aad", "e-9c7f-5e1a5c9aad4e:2296, current write offset: 17662214", "e: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: f6122084-a690-4b", "ile segment info: File segment: [17662214144, 17666408447], key: 31211262ceb296d126dc7cad9682b2e5, sta", "d_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: f6122084-a690-4b8e-9c7f-5e1a5c9aad4e:2296, ", "buffer_end: 17665280680, read_until_position: 17665303585, internal buffer end: 17663262720, re", "rgetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of", "s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/m", "6, kind: Regular, unbound: 0: Cache info: Buffer path: ch", ", caller id: f6122084-a690-4b8e-9c7f-5e1a5c9aad4e:22", ": 1048576, downloader id: f6122084-a690-4b8e-9c7f-5e1a5c9aad4e:2296, current write offset: 1766221414", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [17662214144, 17666408447", "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