19823890 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 02:23.404
Run Time 00:22.353
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:23)
Cancelled
Discarded

Args

%{
  "account_id" => "136263",
  "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" => 1772757859127303,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkD1OxDAQhV1RLElYIQrOQEPFEfYMlNbEeZu1cGzL42TgthwFOwkRNJbe5/l5b7JS6lnusMBn7pW6nIpIKSSmV2nFDiOydoEGDKTk/uqCsOZbEE/v0oyBHOvJMq/f7aYTyNxW0PnIekBOZHIdqaSpxGMuyFXdVh1TmELGWnCKNEIvFlLtvH1LwyYBfkOl4HEKvXXQ+IxIFt5ga7P+15iSc53Kc1rwdbCnPyyBY/C8dp4xkS2uKWdMMW85d8blKjXGLvswl3Vr0p1cy/sPhAi/Rd+BcdZ8bCU9eV9CHo46itHMYH1c/+FFun62bkDaIakfRuSZHQ",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-794f-798a-a01a-5a21b59e4897"
}

Recorded Output

%{
  events: 17674,
  errors: 47,
  widget_loaded: 0,
  flows_shown: 87,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 13792,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  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: 3882,
  builder_events: 0
}

Errors

Attempt 4—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
    "_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["e query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM", "ailed with error. It can mean that some retryable error happened, or data is corrupted. Please retry t", "d: 0: (while reading column timestamp): (attempt to read data part all_49425_51877_8_112386651 (state Active) ", "-40c8-ad09-b7d15d3a7cc3:1121, kind: Regular, unbou", "ize: 4194304, reserved size: 4194304, downloader id: None, current write offset: 608174080, caller id: 59b0ad28-b8e", "le segment: [603979776, 608174079], key: 095619dc4a36367d8419e6d507f65278, state: DOWNLOADED, downloaded ", "-40c8-ad09-b7d15d3a7cc3:1121, file segment info: F", "ad_until_position: 604013260, internal buffer end: 6456, read_type: CACHED, last caller: 59b0ad28-b8e", "419e6d507f65278, file_offset_of_buffer_end: 603986232, r", "2-f47e-4b75-bbcb-8441591d3836/mergetree/eps/obvtxzoxvtqqozeunxazrgzxolotz, hash key: 095619dc4a36367d", "507f65278/603979776: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8129", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/095/095619dc4a36367d8419e6"]

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

    # 2
    53

    # 3
    67

    # 4
    ["fetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (offici", "rror happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Pr", "It can mean that some retryable ", "00_9_112386651 (state Active) failed with error.", "to read data part all_148331_153", "f-4b5c-b062-89b501a99be0:41683, kind: Regular, unbound: 0: (while reading column timestamp): (attempt", "ize: 4194304, reserved size: 4194304, downloader id: None, current write offset: 1249902592, caller id: 24b58dfa-17", " info: File segment: [1245708288, 1249902591], key: 6b7d7ac1263b4df06a2c7b2aac3df200, state: DOWNLOADED, downloaded ", "ED, last caller: 24b58dfa-17ef-4b5c-b062-89b501a99be0:41683, file segmen", "5837618, internal buffer end: 100224, read_type: CAC", "jixbaqqcfxcp, hash key: 6b7d7ac1263b4df06a2c7b2aac3df200, file_offset_of_buffer_end: 1245808512, read_until_position: 12", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/owq/ujgvwfpmdgeawxwf", "aac3df200/1245708288: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/6b7/6b7d7ac1263b4df06a2c7b"]

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

    # 2
    54

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRI", " with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "le reading column timestamp): (attempt to read data part all_49425_51877_8_112386651 (state Active) faile", "2-8d80-7d180a9385e9:2035, kind: Regular, unbound: 0: (wh", "rved size: 4194304, downloader id: None, current write offset: 608174080, caller id: b52c6e20-4a91-42", "278, state: DOWNLOADED, downloaded size: 4194304, res", "ile segment: [603979776, 608174079], key: 095619dc4a36367d8419e6d507f6", "-4282-8d80-7d180a9385e9:2035, file segment info: ", "ad_until_position: 604013260, internal buffer end: 6456, read_type: CACHED, last caller: b52c6e20-4a9", "419e6d507f65278, file_offset_of_buffer_end: 603986232, r", "2-f47e-4b75-bbcb-8441591d3836/mergetree/eps/obvtxzoxvtqqozeunxazrgzxolotz, hash key: 095619dc4a36367d", "507f65278/603979776: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8129", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/095/095619dc4a36367d8419e6"]

    (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
    ".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_49425_51877_8_112386651 (state Active) failed wi", "ent write offset: 608174080, caller id: c50ebc47-e313-44f1-a59b-500b54b83e57:1570, kind: Regular, unbound: 0: (whi", " 4194304, reserved size: 4194304, downloader id: None, cur", "e segment: [603979776, 608174079], key: 095619dc4a36367d8419e6d507f65278, state: DOWNLOADED, downloaded size", "-44f1-a59b-500b54b83e57:1570, file segment info: Fi", "ad_until_position: 604013260, internal buffer end: 6456, read_type: CACHED, last caller: c50ebc47-e31", "419e6d507f65278, file_offset_of_buffer_end: 603986232, r", "2-f47e-4b75-bbcb-8441591d3836/mergetree/eps/obvtxzoxvtqqozeunxazrgzxolotz, hash key: 095619dc4a36367d", "507f65278/603979776: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8129", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/095/095619dc4a36367d8419e6"]

    (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