19832190 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 09:09.665
Run Time 00:00.516
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "217613",
  "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" => 1772758457371895,
  "recorded" => true,
  "return" => "g1AAAAGleJxVkU1SxCAUhNGFC2eSmrJceAWP4HIu4BUQSE+GkgDFI3l6Gpdea44iITilG6r64/10QxZCPPEdFvhMWtxcLkWkFBIpwR3bYUSWLqgBQwG7kwtMks6BvXrl/RiUIzlZonrdbTpBmXMFvY8kB+SkTN5G7lfiMRfk6opVxxSmkFEL7qMaIRcLXu18H3lPJgF+Q6XgYQraOkh8RCQLb7C1Wd+MaSFu3/iwDqY5LfhsfgU//mEJFIOn2nzApGwxrnLGFHOx/sy7xqg8zJqkSR3msrGGbeRUzn8gRPgCumuPcda8byVaeV9yXh31KkYzg+TvB4iXL+71bN2A1KASP2t8m2M",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a49-7bde-b2ca-b0b767a0dd77"
}

Recorded Output

%{
  events: 123104,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 78,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 108353,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 608,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 41,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 13,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 14751,
  builder_events: 0
}

Errors

Attempt 2—3h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["e query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM", "ailed with error. It can mean that some retryable error happened, or data is corrupted. Please retry t", "ing column timestamp): (attempt to read data part all_37953474_39115388_41_112386651 (state Active) ", "96f583e0:2073, kind: Regular, unbound: 0: (while rea", "560281088, caller id: 89125361-b41d-4201-8c74-891", "id: None, current write offset: ", "DED, downloaded size: 4194304, reserved size: 4194304, downloader", "nt info: File segment: [1556086784, 1560281087], key: fa4d3a845d2145661a57a5c8fab5dae5, state: DOWNLO", "fer end: 2401068, read_type: CACHED, last caller: 89125361-b41d-4201-8c74-891496f583e0:2073, file segm", "8487852, read_until_position: 1558514726, internal bu", "45d2145661a57a5c8fab5dae5, file_offset_of_buffer_end: 15", "a8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/bma/sxsjgkaslfpmcdjrfmsagzxzpexdm, hash key: fa4d3a", "8fab5dae5/1556086784: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-6b5/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/fa4/fa4d3a845d2145661a57a5"]

    (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

Attempt 1—3h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "gorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["ened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, al", "l_35569329_36369125_44_112386651 (state Active) failed with error. It can mean that some retryable error hap", "5:2071, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part a", "4, caller id: f6fd494f-f350-4192-9063-022cd23664", "4304, downloader id: None, current write offset: 12624855", "size: 4194304, reserved size: 41", "64a5e8dbb0ec7e5b9, state: DOWNLOADED, downloaded", "1262485503], key: 5a20ed0ede36cf", "info: File segment: [1258291200,", "al buffer end: 297620, read_type: CACHED, last caller: f6fd494f-f350-4192-9063-022cd23664a5:2071, file segment", "258588820, read_until_position: 1258617371, inter", "lj/cgawlbtmbewdnuvpzlyfiulcfgtvk, hash key: 5a20ed0ede36cf064a5e8dbb0ec7e5b9, file_offset_of_buffer_end: ", "aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "b0ec7e5b9/1258291200: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-445", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/5a2/5a20ed0ede36cf064a5e8d"]

    (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