19825062 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 16:41.075
Run Time 00:09.082
Inserted 11h ago
Scheduled 10h ago
Completed 9h ago (00:10)
Cancelled
Discarded

Args

%{
  "account_id" => "140388",
  "date" => "2026-03-06",
  "query" => "event_counts",
  "window_days" => 7
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772757975692353,
  "recorded" => true,
  "return" => "g1AAAAG0eJxVkU1OwzAQhQ1I/LRJqBALWLHjChyBK7DCmjjT1sKxLY/TAYmDwBKJ0yDEObgAeyY/rWBj6X16Hr83zkqpCz7EDfpMtao+30WkFJIIdf/MJdtmhVm7AA02tdr7vuX50gUmTevAXlzlDxerAI50a4mwAcXlqBOCWQ+g8pF0gzmByTIbTrjoicdOkCM45rLXMYU2ZBTDNc8irFBvLLJEOXizXJBJiH5EMvOsDbV1qPExYrLoDfZ0Fq2fssEpL/qp1KUNPu3y7n/x+R+ckGLwJJdveIEtWAkOOWMb8xB9PjGSDfVNJlmHTl4cyk5kKec/ECL6sf0EjLPmYbTU4L303IW6/OAKYjQdkt5+xtHLFVd1Z12DaQfV690vLu+gdg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7966-7397-8f67-7d7ebc0db8db"
}

Recorded Output

%{
  events: 969892,
  errors: 24188,
  widget_loaded: 124999,
  flows_shown: 3573,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 9,
  nps_neutrals: 8,
  nps_promoters: 38,
  page_views: 237929,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 15,
  nps_survey_shown: 718,
  nps_survey_responses: 55,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 6602,
  appcues_events: 497695,
  builder_events: 39256
}

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
    "TOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIP", "e) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "ized>): (while reading column timestamp): (attempt to read data part all_95044_99838_8_112386651 (state Acti", "boujwc (position: 1220542464, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitia", "nd: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ejp/fnynbokjvmfjghcararuis", "f-4ad7-9895-030c0d7fb887:43245, kind: Regular, unbo", "ize: 4194304, reserved size: 4194304, downloader id: None, current write offset: 1224736768, caller id: 3aa3fb30-e0", ": File segment: [1220542464, 1224736767], key: 46f0b449354f1f4299d848caa3e22741, state: DOWNLOADED, downloaded ", " buffer end: 0, read_type: CACHED, last caller: 3aa3fb30-e03f-4ad7-9895-030c0d7fb887:43245, file segment inf", "20542464, read_until_position: 1220558354, interna", "okjvmfjghcararuislboujwc, hash key: 46f0b449354f1f4299d848caa3e22741, file_offset_of_buffer_end: 1", "9e2-f47e-4b75-bbcb-8441591d3836/mergetree/ejp/fnyn", "aa3e22741/1220542464: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa81", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/46f/46f0b449354f1f4299d848"]

    (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