19823398 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 7 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.866
Run Time 00:25.994
Inserted 1d ago
Scheduled 23h ago
Completed 23h ago (00:26)
Cancelled
Discarded

Args

%{
  "account_id" => "111589",
  "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" => 1772757787358933,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkUFOxDAMRSMkWMBMNUIIwRXQnINDsInS9LcTkSZRnDZwB07AnhMi9rhJKbCJ9J++7W8nCSHu8gVmuEStOHu7ZRGjj6RE3mfTDUjSetWhY3DVW59J0sln1wpx/pl3g1eW5GiIimNfdYTSJwZPuXGBZIcUlU61624hDhMjW6YsOkQ/+oRiuAxqgJwNMicSj+95RzoCriI2XI++NRYSLwHRwGnUMuN+sx0/8mFpTFOc8Voxm27+sAgK3lEpPmBUhoOrlDCGVLddGfFtWDarbP3EE8uyK+n5/Qd8gCvgp0Zbo5+rpVXO8Z5b0Iev3KgQ9ASS2zccm9y0k7Ed4gbFff8NHbacfw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7946-765b-b812-ca3e37152d88"
}

Recorded Output

%{
  events: 166934,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 1523,
  goals_missed: 0,
  goals_reached: 90,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 18074,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 11429,
  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: 10997,
  appcues_events: 142350,
  builder_events: 6502
}

Errors

Attempt 6—23h ago

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

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

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

    # 2
    53

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "ad data part all_56741_57873_7_112386651 (state Active) failed with error. It can mean that some retr", "column timestamp): (attempt to r", "e offset: 247463936, caller id: 99cffb98-57ae-498f-80bf-9d7b80b7b839:2071, kind: Regular, unbound: 0: (while reading", "downloader id: None, current wri", "4194304, reserved size: 4194304,", "e251cd5b91b9df71, state: DOWNLOADED, downloaded size:", "247463935], key: d3a9b96eeb42a8a", "b839:2071, file segment info: File segment: [243269632,", "osition: 243618315, internal buffer end: 317000, read_type: CACHED, last caller: 99cffb98-57ae-498f-80bf-9d7b80b", "ur, hash key: d3a9b96eeb42a8a5e251cd5b91b9df71, file_offset_of_buffer_end: 243586632, read_until_", "t error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gut/kepgkjkdekdakgukvbueponbib", "b91b9df71/243269632: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d3a/d3a9b96eeb42a8a5e251cd"]

    (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 5—23h 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:", " reading column timestamp): (attempt to read data part all_56741_57873_7_112386651 (state Active) fai", "rrent write offset: 247463936, caller id: c40d1ccd-6bcd-449f-8b60-7be3d580bbc1:2110, kind: Regular, unbound: 0: (whil", "9df71, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, c", "69632, 247463935], key: d3a9b96eeb42a8a5e251cd5b91", "bbc1:2110, file segment info: File segment: [243", "osition: 243618315, internal buffer end: 317000, read_type: CACHED, last caller: c40d1ccd-6bcd-449f-8b60-7be3d58", "ur, hash key: d3a9b96eeb42a8a5e251cd5b91b9df71, file_offset_of_buffer_end: 243586632, read_until_", "t error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gut/kepgkjkdekdakgukvbueponbib", "b91b9df71/243269632: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d3a/d3a9b96eeb42a8a5e251cd"]

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

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

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

    # 1
    "0.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.1", "at some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "mn timestamp): (attempt to read data part all_56741_57873_7_112386651 (state Active) failed with error. It can mean t", "066, kind: Regular, unbound: 0: (while reading col", "3936, caller id: da004f72-8e80-4608-841f-c6cce4b88c63:", "tate: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 2474", "47463935], key: d3a9b96eeb42a8a5e251cd5b91b9df71, ", "8c63:2066, file segment info: File segment: [243269632, ", "osition: 243618315, internal buffer end: 317000, read_type: CACHED, last caller: da004f72-8e80-4608-841f-c6cce4b", "ur, hash key: d3a9b96eeb42a8a5e251cd5b91b9df71, file_offset_of_buffer_end: 243586632, read_until_", "t error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gut/kepgkjkdekdakgukvbueponbib", "b91b9df71/243269632: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d3a/d3a9b96eeb42a8a5e251cd"]

    (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—23h 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_56741_57873_7_112386651 (state Active) faile", "a-9483078306b7:2081, kind: Regular, unbound: 0: (wh", "e: 4194304, reserved size: 4194304, downloader id: None, current write offset: 247463936, caller id: ada3d979-b814-4251-9c", "state: DOWNLOADED, downloaded si", "32, 247463935], key: d3a9b96eeb42a8a5e251cd5b91b9df71,", "06b7:2081, file segment info: File segment: [243269", "osition: 243618315, internal buffer end: 317000, read_type: CACHED, last caller: ada3d979-b814-4251-9c3a-9483078", "ur, hash key: d3a9b96eeb42a8a5e251cd5b91b9df71, file_offset_of_buffer_end: 243586632, read_until_", "t error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gut/kepgkjkdekdakgukvbueponbib", "b91b9df71/243269632: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d3a/d3a9b96eeb42a8a5e251cd"]

    (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—23h 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
    53

    # 3
    67

    # 4
    ["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "73_7_112386651 (state Active) failed with error. It can ", ": (attempt to read data part all_56741_57", " unbound: 0: (while reading column timestamp", "urrent write offset: 247463936, caller id: 62f84d78-7709-49a0-a223-7677387bf0b3:2085, kind: Regular", "4, reserved size: 4194304, downloader id: None, ", "b9df71, state: DOWNLOADED, downloaded size: 41943", "f0b3:2085, file segment info: File segment: [243269632, 247463935], key: d3a9b96eeb42a8a5e251cd5b9", "osition: 243618315, internal buffer end: 317000, read_type: CACHED, last caller: 62f84d78-7709-49a0-a223-7677387", "ur, hash key: d3a9b96eeb42a8a5e251cd5b91b9df71, file_offset_of_buffer_end: 243586632, read_until_", "t error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gut/kepgkjkdekdakgukvbueponbib", "b91b9df71/243269632: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d3a/d3a9b96eeb42a8a5e251cd"]

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

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "ad data part all_56741_57873_7_112386651 (state Active) failed with error. It can mean that some retr", "column timestamp): (attempt to r", "e40042:2099, kind: Regular, unbound: 0: (while reading", "erved size: 4194304, downloader id: None, current write offset: 247463936, caller id: dcfeebac-c3cc-487d-94bb-35244", ", state: DOWNLOADED, downloaded size: 4194304, re", "2, 247463935], key: d3a9b96eeb42a8a5e251cd5b91b9df7", "0042:2099, file segment info: File segment: [2432696", "osition: 243618315, internal buffer end: 317000, read_type: CACHED, last caller: dcfeebac-c3cc-487d-94bb-352446e", "ur, hash key: d3a9b96eeb42a8a5e251cd5b91b9df71, file_offset_of_buffer_end: 243586632, read_until_", "t error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gut/kepgkjkdekdakgukvbueponbib", "b91b9df71/243269632: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d3a/d3a9b96eeb42a8a5e251cd"]

    (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