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

Args

%{
  "account_id" => "214550",
  "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" => 1772758419051027,
  "recorded" => true,
  "return" => "g1AAAAG3eJxN0TFOAzEQBVATKSAl2VUUUSBxAK6AKEGioKCktbz2ZGPFa1sebwaOAAUtV6DgJtTchZJxslnRWJone+bbzkKICzqFHfiMjbj/eOUipZBQvVNF1rSQpQvKgFGC5msXCCVuAvlGiNUbLdqgHMrOIu53VIc6gdKbPdQ+ojSQk9K5dP2kRREPPZNDdUdVqWMKXciQOIM42dIsqhbkzgIx3Nw+0AJ1AvAH4rarLjTWgYTnCMmC11B0Fq0f4nG1LI2xTzt4GSNff9P5P06AMXiEMnbyREvolOX4KmfoYgZT0lzRfGDkRzpIPUgTeh5t1JyqQda8MkxGCBE8w894RjurtyyXVDXKe77zmLhWMeoeUB7/Yzr9orrprTOQRjx7/P0DHQqgWQ",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a30-700d-9f66-41d692c88c41"
}

Recorded Output

%{
  events: 4626313,
  errors: 142,
  widget_loaded: 0,
  flows_shown: 4746,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 168,
  nps_neutrals: 67,
  nps_promoters: 363,
  page_views: 3818058,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 14539,
  nps_survey_responses: 598,
  emails_attempted: 295,
  emails_sent: 295,
  emails_bounced: 11,
  emails_failed: 2,
  emails_opened: 213,
  emails_clicked: 27,
  banners_shown: 0,
  appcues_events: 329132,
  builder_events: 478968
}

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

    # 2
    52

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "g column timestamp): (attempt to read data part all_988224_992408_5_112386651 (state Active) failed with error", "cdb3b229:2091, kind: Regular, unbound: 0: (while readi", "159627907, caller id: e4e4ec52-8263-465c-88dc-5cc", "id: None, current write offset: ", "DED, downloaded size: 2000003, reserved size: 2000003, downloader", "06], key: b4315156e14c5a1b1108ec4a7ea0e5d4, state: DOWNLO", "ast caller: e4e4ec52-8263-465c-88dc-5cc6cdb3b229:2091, file segment info: File segment: [1157627904, 1159627", "3, internal buffer end: 903667, read_type: CACHED, ", "yqbnc, hash key: b4315156e14c5a1b1108ec4a7ea0e5d4, file_offset_of_buffer_end: 1158531571, read_until_position: 11585559", "put error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nmg/bhzldjzmdmzvattxidqhpmz", "a7ea0e5d4/1157627904: , errno: 5, strerror: Input/ou", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/b43/b4315156e14c5a1b1108ec"]

    (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