19821610 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 19:52.365
Run Time 00:01.650
Inserted 4h ago
Scheduled 3h ago
Completed 2h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "102254",
  "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" => 1772757453538815,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkU1OxSAUhTFGE31t82IcuALn7sF9EErP6yNSIFxa1A24GRMX58CRibcF/yYk58u5l3MgCSFu8jkWuES92N0+s4jRRxbi5DW32QwjkrReDRiUyLuD9ZkkHX12bDl7z83olSU5GaLN0RYdofRxA50LJAekqHTixUyalTjMjOyq21WH6CefsBkugxohF4PMOS4+33JDOgKuIDZcTb43FhKPAdHAaZQx42o2dZr361aa44KnykS+/sMiKHhH2+QekzKcWqWEKaRStTLit1lrVNn7ma/bmlZy4PMf8AGuVK9AW6MfiqVXznHJn0SdCkHPIPn9B+LjPnf9bOyA+AvvXr4AYQ+c+A",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7909-7024-928a-44c2ed4a7440"
}

Recorded Output

%{
  events: 730746,
  errors: 428,
  widget_loaded: 0,
  flows_shown: 1523,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 654767,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 3,
  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: 63300,
  builder_events: 12679
}

Errors

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
    "tchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", "n timestamp): (attempt to read data part all_62554_64799_8_112386651 (state Active) failed with error. It can", "aller id: a38164f8-b522-4f2a-857e-efb9142c436c:1174, kind: Regular, unbound: 0: (while reading colu", "ded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 444596224, ", "t info: File segment: [440401920, 444596223], key: d5c15bc82780c994723922b4bbc04e44, state: DOWNLOADED, downlo", "fer end: 104372, read_type: CACHED, last caller: a38164f8-b522-4f2a-857e-efb9142c436c:1174, file segme", "0506292, read_until_position: 440541629, internal bu", "sylhuxszkpsnbmmwsqytydxi, hash key: d5c15bc82780c994723922b4bbc04e44, file_offset_of_buffer_end: 4", "9e2-f47e-4b75-bbcb-8441591d3836/mergetree/isz/hzva", "4bbc04e44/440401920: , 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/d5c/d5c15bc82780c994723922"]

    (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