19836070 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 01:34.156
Run Time 00:13.167
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:14)
Cancelled
Discarded

Args

%{
  "account_id" => "23",
  "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" => 1772758711853858,
  "recorded" => true,
  "return" => "g1AAAAGZeJxVkE1OxDAMhbNiAZ1qhFhwEq4TuembTkTqRHHawG04FefBTTsDbKK8z/bzTzHGvNYHrOAi9K2/nGMWMvVU/Tih2BBpxKjg6RJiFSvXWFllN0UKYmcv0sKnXWeQuyp4qz0nsSNKJld2y24jjEVRaC02nXKcY0FLeEw0wa4eVdSgE5cBPrSpz3McfIDFR0L2YIe9xvPvVOfNUpa84vPOXv6wDEmRpVWeMZPXkakUzKnsSx5M9B4q+0MOcdF2bc2DXPT9B2ICN3CrccG79z1lIGbd8D5RTym5BWKPu3/Vflh8GJFvxPwAVkeY2Q",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a98-7669-a5eb-0e7a2d65b252"
}

Recorded Output

%{
  events: 214,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 0,
  goals_missed: 0,
  goals_reached: 54,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 54,
  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: 160,
  builder_events: 0
}

Errors

Attempt 4—18h ago

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

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

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

    # 2
    53

    # 3
    67

    # 4
    ["(CANNOT_READ_FROM_FILE_DESCRIPTO", "se retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread).", " Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Ple", ": 0: (while reading column account_id): (attempt to read data part all_86138_90918_9_112386651 (stat", "bfd5-1a6ee5414cee:2077, kind: Regular, unboun", "rved size: 1460220, downloader id: None, current write offset: 1460220, caller id: 946cc3c4-f4d6-41c5", "4c17da9, state: DOWNLOADED, downloaded size: 1460220, res", " File segment: [0, 1460219], key: 889b6f3dae1d08161b99a06c", "nd: 158, read_type: CACHED, last caller: 946cc3c4-f4d6-41c5-bfd5-1a6ee5414cee:2077, file segment info", "ae1d08161b99a06c94c17da9, file_offset_of_buffer_end: 158, read_until_position: 216, internal buffer ", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ynu/euntpjeerndssicacsjqiqqswesqg, hash key: 889b6f3", "Cache info: Buffer path: ch-s3-a", "c94c17da9/0: , errno: 5, strerror: Input/output error:", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/889/889b6f3dae1d08161b99a0"]

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

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

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

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

    # 2
    53

    # 3
    67

    # 4
    ["(CANNOT_READ_FROM_FILE_DESCRIPTO", "se retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread).", " Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Ple", ": 0: (while reading column account_id): (attempt to read data part all_86138_90918_9_112386651 (stat", "9c9c-4a4b6428ae40:2081, kind: Regular, unboun", "rved size: 1460220, downloader id: None, current write offset: 1460220, caller id: d1c70996-576d-4415", "4c17da9, state: DOWNLOADED, downloaded size: 1460220, res", " File segment: [0, 1460219], key: 889b6f3dae1d08161b99a06c", "nd: 158, read_type: CACHED, last caller: d1c70996-576d-4415-9c9c-4a4b6428ae40:2081, file segment info", "ae1d08161b99a06c94c17da9, file_offset_of_buffer_end: 158, read_until_position: 216, internal buffer ", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ynu/euntpjeerndssicacsjqiqqswesqg, hash key: 889b6f3", "Cache info: Buffer path: ch-s3-a", "c94c17da9/0: , errno: 5, strerror: Input/output error:", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/889/889b6f3dae1d08161b99a0"]

    (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—18h 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", "ialized>): (while reading column timestamp): (attempt to read data part all_148331_153000_9_112386651 (state Active)", "xbaqqcfxcp (position: 204800, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", " reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/owq/ujgvwfpmdgeawxwfxj", "rent write offset: 4194304, caller id: 76790e46-cad4-4628-9adf-8b92a40029c3:43135, kind: Regular, unbound: 0: Whil", "304, reserved size: 4194304, downloader id: None, cu", "fo: File segment: [0, 4194303], key: 6b7d7ac1263b4df06a2c7b2aac3df200, state: DOWNLOADED, downloaded size: 419", "ernal buffer end: 204800, read_type: CACHED, last caller: 76790e46-cad4-4628-9adf-8b92a40029c3:43135, file segment i", ", hash key: 6b7d7ac1263b4df06a2c7b2aac3df200, file_offset_of_buffer_end: 204800, read_until_position: 237334, in", "or: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/owq/ujgvwfpmdgeawxwfxjixbaqqcfxc", "aac3df200/0: , errno: 5, strerror: Input/output er", "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 1—19h 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", "ialized>): (while reading column timestamp): (attempt to read data part all_148331_153000_9_112386651 (state Active)", "xbaqqcfxcp (position: 204800, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", " reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/owq/ujgvwfpmdgeawxwfxj", "rent write offset: 4194304, caller id: db7c9f5e-fd8b-4b29-bc8b-8212ba1ef4b8:43439, kind: Regular, unbound: 0: Whil", "304, reserved size: 4194304, downloader id: None, cu", "fo: File segment: [0, 4194303], key: 6b7d7ac1263b4df06a2c7b2aac3df200, state: DOWNLOADED, downloaded size: 419", "ernal buffer end: 204800, read_type: CACHED, last caller: db7c9f5e-fd8b-4b29-bc8b-8212ba1ef4b8:43439, file segment i", ", hash key: 6b7d7ac1263b4df06a2c7b2aac3df200, file_offset_of_buffer_end: 204800, read_until_position: 237334, in", "or: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/owq/ujgvwfpmdgeawxwfxjixbaqqcfxc", "aac3df200/0: , errno: 5, strerror: Input/output er", "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