19830866 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 6 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:10.199
Run Time 00:01.052
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "214089",
  "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" => 1772758400667767,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkE1SxCAQhXHjQjOp0XLhzlt4HapD3mQoCU3RJOhZvIk38FRKIDOlG6reR/+810kp9ZxvscInGdTN108RMXIUUvmQ7Tghacc0Yizg/uQ4i5YzZ08PuZuYnOjZitTvQ9MRZM4V9D6IHpEimdRGdhvxWApydcWmQ+SZE2rBXaAJerXIm53P19yJiYBvqBQ8zjxYB433gGjhDVqb9RdjKh+3qbLEFR9X9vSHRUhgL7XziJlscU0pYQ6p5dyZlKtsMXY58FLW1aQ7OZX3H+AA36LvwDhr3lrJQN6XkFdHPYVgFoi+XF+9fOd+WKwbEXdI6hegAZp/",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a2e-7774-8159-7d5088db88f3"
}

Recorded Output

%{
  events: 113407,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 17,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 105270,
  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: 8137,
  builder_events: 0
}

Errors

Attempt 5—4h 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
    54

    # 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", "ng column timestamp): (attempt to read data part all_1216878_1227446_6_112386651 (state Active) failed wi", "00a89d:44163, kind: Regular, unbound: 0: (while read", "ved size: 4194304, downloader id: None, current write offset: 1480589312, caller id: bca90f2f-0e0a-494b-816f-1e468", ": [1476395008, 1480589311], key: 6647502d1a79cb3b86c72f3b1060b19b, state: DOWNLOADED, downloaded size: 4194304, rese", "e468400a89d:44163, file segment info: File segmen", "caller: bca90f2f-0e0a-494b-816f-", "4, internal buffer end: 269111, read_type: CACHED, last", "pdncu, hash key: 6647502d1a79cb3b86c72f3b1060b19b, file_offset_of_buffer_end: 1476664119, read_until_position: 14767004", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nma/dkmlickyyjlkfuzkfjobizo", "b1060b19b/1476395008: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/664/6647502d1a79cb3b86c72f"]

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

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

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

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

    # 2
    53

    # 3
    67

    # 4
    ["eadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7", "MergeTreeSelect(pool: Prefetched", "ror. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing", "hile reading column timestamp): (attempt to read data part all_1216878_1227446_6_112386651 (state Active) failed with e", "rent write offset: 1480589312, caller id: 8bcf9ad4-efa4-4383-a5af-cdfc03db0fc2:42685, kind: Regular, unbound: 0: (", "304, reserved size: 4194304, downloader id: None, cu", "6c72f3b1060b19b, state: DOWNLOADED, downloaded size: 419", "dfc03db0fc2:42685, file segment info: File segment: [1476395008, 1480589311], key: 6647502d1a79cb3b", "caller: 8bcf9ad4-efa4-4383-a5af-", "4, internal buffer end: 269111, read_type: CACHED, last", "pdncu, hash key: 6647502d1a79cb3b86c72f3b1060b19b, file_offset_of_buffer_end: 1476664119, read_until_position: 14767004", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nma/dkmlickyyjlkfuzkfjobizo", "b1060b19b/1476395008: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/664/6647502d1a79cb3b86c72f"]

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

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["ata is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, ", "112386651 (state Active) failed with error. It can mean that some retryable error happened, or ", "r, unbound: 0: (while reading column timestamp): (attempt to read data part all_1216878_1227446_6", "urrent write offset: 1480589312, caller id: d33b761c-4db7-4d37-a13e-f73596cc8d54:40883, kind: Regul", "4, reserved size: 4194304, downloader id: None, ", "2f3b1060b19b, state: DOWNLOADED, downloaded size: 41943", "73596cc8d54:40883, file segment info: File segment: [1476395008, 1480589311], key: 6647502d1a79cb3b86c", "caller: d33b761c-4db7-4d37-a13e-", "4, internal buffer end: 269111, read_type: CACHED, last", "pdncu, hash key: 6647502d1a79cb3b86c72f3b1060b19b, file_offset_of_buffer_end: 1476664119, read_until_position: 14767004", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nma/dkmlickyyjlkfuzkfjobizo", "b1060b19b/1476395008: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/664/6647502d1a79cb3b86c72f"]

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

    # 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", "failed with error. It can mean t", "ile reading column timestamp): (attempt to read data part all_1216878_1227446_6_112386651 (state Active)", "ent write offset: 1480589312, caller id: f30e7fcb-bf9c-4e56-ae5e-705ce986bc1f:44327, kind: Regular, unbound: 0: (w", "19b, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, cur", "6395008, 1480589311], key: 6647502d1a79cb3b86c72f3b1060", "05ce986bc1f:44327, file segment info: File segment: [14", "caller: f30e7fcb-bf9c-4e56-ae5e-", "4, internal buffer end: 269111, read_type: CACHED, last", "pdncu, hash key: 6647502d1a79cb3b86c72f3b1060b19b, file_offset_of_buffer_end: 1476664119, read_until_position: 14767004", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nma/dkmlickyyjlkfuzkfjobizo", "b1060b19b/1476395008: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/664/6647502d1a79cb3b86c72f"]

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

    # 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", "failed with error. It can mean t", "ding column timestamp): (attempt to read data part all_1216878_1227446_6_112386651 (state Active)", "6345250:43353, kind: Regular, unbound: 0: (while re", "one, current write offset: 1480589312, caller id: 18683a73-8b93-463e-9678-e903", "72f3b1060b19b, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: ", "90336345250:43353, file segment info: File segment: [1476395008, 1480589311], key: 6647502d1a79cb3b86", "caller: 18683a73-8b93-463e-9678-", "4, internal buffer end: 269111, read_type: CACHED, last", "pdncu, hash key: 6647502d1a79cb3b86c72f3b1060b19b, file_offset_of_buffer_end: 1476664119, read_until_position: 14767004", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nma/dkmlickyyjlkfuzkfjobizo", "b1060b19b/1476395008: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/664/6647502d1a79cb3b86c72f"]

    (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