19823698 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 05:08.207
Run Time 00:04.644
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:05)
Cancelled
Discarded

Args

%{
  "account_id" => "120068",
  "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" => 1772757825991865,
  "recorded" => true,
  "return" => "g1AAAAGxeJxVkc1NxDAQRi0OkYAkitAeqIESaGB74GI5zrdZC8e2PE4MJVAKLdABnGiAXpj8bAQXS+/pG3tmnIQQ97nABJeoFc37N0OMPjKI4iNX2XQ9krRedeiUyLcn6zNJOvvsOPLwmMveK0tyMERLolo5QukzOs7Ub7l2gWSHFJVOfDenytk4jKzszNXMIfrBJyyBm6B6yMkgcyvXx6dcko6AWxUH7gbfGguJl4Bo4DTWMuO29pia+VYa44TX3R3+uAgK3tFS2WBQhhtXKWEIaZ12c8TrYaw3bP3Izy3DbubE5z/hA9wiLjXaGv28RlrlHA+5L/GAXKsQ9AiSl5+4+vzKdTsa2yHuUhQ/v+vfnd4",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-794b-7539-ac46-48572125782e"
}

Recorded Output

%{
  events: 1092048,
  errors: 1722,
  widget_loaded: 0,
  flows_shown: 10810,
  goals_missed: 0,
  goals_reached: 3721,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 608090,
  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: 5221,
  appcues_events: 182730,
  builder_events: 1757
}

Errors

Attempt 3—9h ago

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

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

    # 1
    "OM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    [" query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FR", "ate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry th", "all_247561_250168_8_112386651 (s", "b275a:43382, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part", "ved size: 4194304, downloader id: None, current write offset: 666894336, caller id: 8f4a5249-b7a1-49e0-9ab1-9b83ab", "c3015f, state: DOWNLOADED, downloaded size: 4194304, rese", "b275a:43382, file segment info: File segment: [662700032, 666894335], key: 3faf4d000cdb6e326f845e3da", "osition: 664848887, internal buffer end: 2117827, read_type: CACHED, last caller: 8f4a5249-b7a1-49e0-9ab1-9b83ab", "hjibn, hash key: 3faf4d000cdb6e326f845e3da9c3015f, file_offset_of_buffer_end: 664817859, read_until_", "put error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uoj/erraqrbtvaxkauhtvnwybdz", "da9c3015f/662700032: , errno: 5, strerror: Input/ou", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/3fa/3faf4d000cdb6e326f845e"]

    (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—9h 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
    54

    # 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_247561_250168_8_112386651 (state Active) failed with error. It ", "040:40939, kind: Regular, unbound: 0: (while reading c", "14415f22-c63a-43fe-b0a7-ed8a28c4", " current write offset: 666894336, caller id:", "9c3015f, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None", "46040:40939, file segment info: File segment: [662700032, 666894335], key: 3faf4d000cdb6e326f845e3d", "osition: 664848887, internal buffer end: 2117827, read_type: CACHED, last caller: 14415f22-c63a-43fe-b0a7-ed8a28", "hjibn, hash key: 3faf4d000cdb6e326f845e3da9c3015f, file_offset_of_buffer_end: 664817859, read_until_", "put error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uoj/erraqrbtvaxkauhtvnwybdz", "da9c3015f/662700032: , errno: 5, strerror: Input/ou", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/3fa/3faf4d000cdb6e326f845e"]

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

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

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

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

    # 2
    55

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "247561_250168_8_112386651 (state Active) failed with error. It can mean that some retryable err", "a86:43142, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all", "b26fa985-8fca-4f83-a4de-da83a2cb", " current write offset: 666894336, caller id:", "9c3015f, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None", "bfa86:43142, file segment info: File segment: [662700032, 666894335], key: 3faf4d000cdb6e326f845e3d", "osition: 664848887, internal buffer end: 2117827, read_type: CACHED, last caller: b26fa985-8fca-4f83-a4de-da83a2", "hjibn, hash key: 3faf4d000cdb6e326f845e3da9c3015f, file_offset_of_buffer_end: 664817859, read_until_", "put error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uoj/erraqrbtvaxkauhtvnwybdz", "da9c3015f/662700032: , errno: 5, strerror: Input/ou", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/3fa/3faf4d000cdb6e326f845e"]

    (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