19825838 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 02:23.250
Run Time 00:05.709
Inserted 3h ago
Scheduled 1h ago
Completed 1h ago (00:06)
Cancelled
Discarded

Args

%{
  "account_id" => "200740",
  "date" => "2026-03-06",
  "query" => "event_counts",
  "window_days" => 1
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772758070852954,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkM1OxSAQhVETF9o2jXHhm7kkU3ruvUQKhKEdXbnyNX0WocUb3ZCcj/k5Z7JS6kXuscFnnpS6+y4ipZCYOunFzmdk7QLNmEnJ48kFYc2XIJ5G6c6BHOvFMu/f/aETyFx2MPjIekZOZHIdqaSrxGMtyFXdVx1TWELGXvAQ6Qy9WUi1c/MqHZsE+AOVgqclTNZB4z0iWXiDo836X2OfMtapvKYNH40pef7DEjgGz3vniIVscU05Y4n5yNkYl6vUGE1OYS3r9qSNnMr7D4QIf0RvwDhr3o6SibwvIa+OBorRrGB9vf7tlwzTat2M1CCpHz+PmVU",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7999-7ce2-a273-37886d5fa374"
}

Recorded Output

%{
  events: 990,
  errors: 12,
  widget_loaded: 0,
  flows_shown: 16,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 343,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 127,
  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: 645,
  builder_events: 0
}

Errors

Attempt 4—1h ago

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

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

    # 1
    "refetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "1 (state Active) failed with error. It can mean that ", "d: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_39948_43205_8_1123866", "r id: None, current write offset: 847249408, caller id: 1098ab64-5f83-4c3b-b0cb-d6993d0885c6:1718, ki", "reserved size: 4194304, download", "egment: [843055104, 847249407], key: 46bc736f8eb066835ef878a52dca5c52, state: DOWNLOADED, downloaded size: 4194304,", " end: 2103120, read_type: CACHED, last caller: 1098ab64-5f83-4c3b-b0cb-d6993d0885c6:1718, file segment info: File ", "24, read_until_position: 845184325, internal buffe", "xwondkgsgxpsvhatmfuemrmqxt, hash key: 46bc736f8eb066835ef878a52dca5c52, file_offset_of_buffer_end: 845158", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/fol/sf", "52dca5c52/843055104: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/46b/46bc736f8eb066835ef878"]

    (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 3—2h ago

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

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

    # 1
    "fficial build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["eeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (o", " mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeT", "lumn timestamp): (attempt to read data part all_68577_71375_8_112386651 (state Active) failed with error. It ca", "6fb:1151, kind: Regular, unbound: 0: (while reading c", "696efba5-9699-41e5-90e2-b4c83a78", " current write offset: 742391808, caller id:", " reserved size: 4194304, downloader id: None", " state: DOWNLOADED, downloaded size: 4194304", "867f31261a1eebde3271e38c2e9fecac", "5-9699-41e5-90e2-b4c83a7856fb:1151, file segment info: File segment: [738197504, 742391807], key:", "until_position: 740564059, internal buffer end: 2337644, read_type: CACHED, last caller: 696efb", "okmoazctxllikpa, hash key: 867f31261a1eebde3271e38c2e9fecac, file_offset_of_buffer_end: 740535148, read", "rror: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/kvn/gmayyojsvniwe", "c2e9fecac/738197504: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/867/867f31261a1eebde3271e3"]

    (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—2h ago

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

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

    # 1
    "build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["ool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official ", "While executing MergeTreeSelect(", "ed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query:", "ding column timestamp): (attempt to read data part all_68577_71375_8_112386651 (state Active) fai", " write offset: 742391808, caller id: 4a12627d-b288-4722-b449-c8815999b15a:1600, kind: Regular, unbound: 0: (while re", "cac, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, curren", "ile segment: [738197504, 742391807], key: 867f31261a1eebde3271e38c2e9f", "d-b288-4722-b449-c8815999b15a:1600, file segment info: ", "until_position: 740564059, internal buffer end: 2337644, read_type: CACHED, last caller: 4a1262", "okmoazctxllikpa, hash key: 867f31261a1eebde3271e38c2e9fecac, file_offset_of_buffer_end: 740535148, read", "rror: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/kvn/gmayyojsvniwe", "c2e9fecac/738197504: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/867/867f31261a1eebde3271e3"]

    (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—2h ago

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

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

    # 1
    ".10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["g MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25", "h error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executi", "e reading column timestamp): (attempt to read data part all_68577_71375_8_112386651 (state Active) failed wi", "ent write offset: 742391808, caller id: d796689c-c948-4086-8212-9bb2dda48d7d:1012, kind: Regular, unbound: 0: (whi", " 4194304, reserved size: 4194304, downloader id: None, cur", "e segment: [738197504, 742391807], key: 867f31261a1eebde3271e38c2e9fecac, state: DOWNLOADED, downloaded size", "c-c948-4086-8212-9bb2dda48d7d:1012, file segment info: Fi", "until_position: 740564059, internal buffer end: 2337644, read_type: CACHED, last caller: d79668", "okmoazctxllikpa, hash key: 867f31261a1eebde3271e38c2e9fecac, file_offset_of_buffer_end: 740535148, read", "rror: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/kvn/gmayyojsvniwe", "c2e9fecac/738197504: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/867/867f31261a1eebde3271e3"]

    (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