19830490 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 09:35.281
Run Time 00:05.036
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:06)
Cancelled
Discarded

Args

%{
  "account_id" => "212836",
  "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" => 1772758373756650,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkU1OxDAMhcNIjNDQVgNiwRlYzA2QuABiwYIFi8hNPZ2INInitIYrcCMuxhLh/swINpHep2f72clKqVte44A+U60uvh9FpBQSwSuXbJsWs3YBGmxA8eXeBSZNh8C+Vur8h4s2gCPdWaLJUc46IZgDNuJZPXPlI+kGcwKTx8Z3XIzEYy/IEVxxOeqYQhcyiuGJNxFa1INFllDr+wcuyCREPyOZc92F2jrU+B4xWfQGR7qJ1i/xRG3HrtSnAT9OkXdnfPMHJ6QYPEnxJ2+xAyvZIWfsYp4XXhjJeURWi6xDLxOnfReyl/cfCBH9BI41xlnzNltq8F72PIV62XEFMZoeSR9/YvVVclX31jWYFgjqF20+nQ8",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a25-77f7-bd91-ed1d60a217d3"
}

Recorded Output

%{
  events: 587341,
  errors: 91,
  widget_loaded: 0,
  flows_shown: 1534,
  goals_missed: 0,
  goals_reached: 595,
  nps_detractors: 42,
  nps_neutrals: 17,
  nps_promoters: 79,
  page_views: 408896,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 11777,
  nps_survey_responses: 138,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 22318,
  appcues_events: 178445,
  builder_events: 0
}

Errors

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

    # 2
    54

    # 3
    67

    # 4
    [" is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, ", "retryable error happened, or dat", " failed with error. It can mean that some", "le reading column timestamp): (attempt to read data part all_43585799_45864007_61_112386651 (state Active", "rrent write offset: 1560281088, caller id: bae3a7a5-5dcb-4cde-b618-f20d27657f9b:44767, kind: Regular, unbound: 0: (wh", "b371ab, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, c", "56086784, 1560281087], key: 7251d63e4f08dd9586145653c", "7657f9b:44767, file segment info: File segment: [1", "on: 1556597014, internal buffer end: 486600, read_type: CACHED, last caller: bae3a7a5-5dcb-4cde-b618-f20d", "xhdkydwkeats, hash key: 7251d63e4f08dd9586145653ccb371ab, file_offset_of_buffer_end: 1556573384, read_until_posit", "ut error: Cache info: Buffer path: ch-s3-ed7/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ait/hnppllqpbhxncauh", "3ccb371ab/1556086784: , errno: 5, strerror: Input/out", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/725/7251d63e4f08dd95861456"]

    (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—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
    "ld))\n"

    # 2
    54

    # 3
    67

    # 4
    ["dReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "yable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetch", "error. It can mean that some ret", "eading column timestamp): (attempt to read data part all_43585799_45864007_61_112386651 (state Active) failed with", " write offset: 1560281088, caller id: c4cc013c-e4a1-48df-b71b-0bc2b76ff79a:44619, kind: Regular, unbound: 0: (while ", "4304, reserved size: 4194304, downloader id: None, curren", "5653ccb371ab, state: DOWNLOADED, downloaded size: 41", "76ff79a:44619, file segment info: File segment: [1556086784, 1560281087], key: 7251d63e4f08dd95861", "on: 1556597014, internal buffer end: 486600, read_type: CACHED, last caller: c4cc013c-e4a1-48df-b71b-0bc2", "xhdkydwkeats, hash key: 7251d63e4f08dd9586145653ccb371ab, file_offset_of_buffer_end: 1556573384, read_until_posit", "ut error: Cache info: Buffer path: ch-s3-ed7/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ait/hnppllqpbhxncauh", "3ccb371ab/1556086784: , errno: 5, strerror: Input/out", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/725/7251d63e4f08dd95861456"]

    (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