19830990 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 03:04.059
Run Time 00:06.897
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:07)
Cancelled
Discarded

Args

%{
  "account_id" => "214544",
  "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" => 1772758402419918,
  "recorded" => true,
  "return" => "g1AAAAGxeJxVkT1OAzEQhQ0IIiXZVfgpOAQSPReAgpISZI29k42F17Y83gwcgIYjcCOuQsURmM0mEWksvU/z8964KKWu+QzXGAoZdT75FpFzzASFK3ZNi0X7CA02Rh19/PJs6SOTplXkYJQ6veF5G8GT7hwRNqC4GnVGsCsBz1yHRLrBksGWYfAlzwcSsBfkCSZcDTrl2MWCUnDH0wQt6rVDFlMnXxXPyWbEMCJZctFF4zxqfEuYHQaLA50mF/bejn8+eTEMpj6v8X1veXbLV/9wRkoxkPQ/8QI7cOIdSsEulU2c2ZaRXEhkvZUm9rJ0k3dLlvIegJgwbMCux3pnX8cSAyFI1NEU3HMNKdkeSe9+oqoeuTa98w3mPVQvD3/NRp6r",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a30-756c-8abc-e850dc3e5b63"
}

Recorded Output

%{
  events: 1116105,
  errors: 116,
  widget_loaded: 99824,
  flows_shown: 1324,
  goals_missed: 0,
  goals_reached: 92,
  nps_detractors: 19,
  nps_neutrals: 7,
  nps_promoters: 58,
  page_views: 236045,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 191114,
  nps_survey_shown: 2863,
  nps_survey_responses: 84,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 71,
  appcues_events: 855372,
  builder_events: 23880
}

Errors

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

    # 2
    48

    # 3
    67

    # 4
    ["ReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "pt to read data part all_952974_956982_5_112386651 (state Active) failed with error. It can mean that some re", " <uninitialized>): (while reading column timestamp): (atte", " DB::AsynchronousBoundedReadBuffer, compressed data header", "47e-4b75-bbcb-8441591d3836/mergetree/iae/agvdyjfkesmvjacvasopbqncazfee (position: 1074130649, typename", "or decompressing ch-s3-aa8129e2-", "e7e2eda:1495, kind: Regular, unbound: 0: While reading", "id: f4272a11-50a4-48aa-b67c-2cbc", "write offset: 1075052780, caller", ", reserved size: 1310956, downloader id: None, current", "d2cbc2af5a9, state: DOWNLOADED, downloaded size: 131095", "073741824, 1075052779], key: b669f9409036c8a8bf5f", "c-2cbc6e7e2eda:1495, file segment info: File segment: [", "ead_until_position: 1074159163, internal buffer end: 388825, read_type: CACHED, last caller: f4272a11-50a4-48aa-b6", "sopbqncazfee, hash key: b669f9409036c8a8bf5f7d2cbc2af5a9, file_offset_of_buffer_end: 1074130649, ", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/iae/agvdyjfkesmvjacv", "cbc2af5a9/1073741824: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/b66/b669f9409036c8a8bf5f7d"]

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

    # 2
    52

    # 3
    67

    # 4
    ["uting MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPT", "an mean that some retryable error happened, or data is corrupted. Please retry the query: While exe", "lumn timestamp): (attempt to read data part all_971510_975853_5_112386651 (state Active) failed with error. It ", "717:2091, kind: Regular, unbound: 0: (while reading c", " caller id: ccc10c28-b7c6-47c7-9dbd-496260c9", "current write offset: 1265506504", "00, reserved size: 3021000, downloader id: None,", "e62f068a2, state: DOWNLOADED, downloaded size: 3021", "62485504, 1265506503], key: d22b190eb4abacbd343273", "c95717:2091, file segment info: File segment: [1", "osition: 1264351114, internal buffer end: 1829445, read_type: CACHED, last caller: ccc10c28-b7c6-47c7-9dbd-49626", "hbzab, hash key: d22b190eb4abacbd3432733e62f068a2, file_offset_of_buffer_end: 1264314949, read_until_", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rrk/wajtadcnidbeantgkmjzfhp", "e62f068a2/1262485504: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d22/d22b190eb4abacbd343273"]

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

    # 2
    54

    # 3
    67

    # 4
    [" MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (vers", "ith error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executin", "e reading column timestamp): (attempt to read data part all_971510_975853_5_112386651 (state Active) failed ", "rrent write offset: 1265506504, caller id: 1e78f9f6-d709-4516-bdf8-038d31c325f3:1012, kind: Regular, unbound: 0: (whi", ", reserved size: 3021000, downloader id: None, c", "68a2, state: DOWNLOADED, downloaded size: 302100", "2485504, 1265506503], key: d22b190eb4abacbd3432733e62f", "c325f3:1012, file segment info: File segment: [12", "osition: 1264351114, internal buffer end: 1829445, read_type: CACHED, last caller: 1e78f9f6-d709-4516-bdf8-038d3", "hbzab, hash key: d22b190eb4abacbd3432733e62f068a2, file_offset_of_buffer_end: 1264314949, read_until_", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rrk/wajtadcnidbeantgkmjzfhp", "e62f068a2/1262485504: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d22/d22b190eb4abacbd343273"]

    (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