19824982 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 02:23.556
Run Time 00:17.261
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:18)
Cancelled
Discarded

Args

%{
  "account_id" => "138374",
  "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" => 1772757980359895,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkU1OxDAMhSOEBjTTlhGaxUgchcNEburpRKRJFKc1rNghJLaIu7DnAghOwElwpx1+NpHep2f72clKqS0vcECfqVbvT18iUgpJhFpsuGTbtJi1C9BgA4pXOxeYNO0De7HcX3PRBnCkO0t0cJSTTghmL+CFKx9JN5gTmCyN4ZSLkXjsBTmCcy5HHVPoQkYxXPAyQot6sMiS4/XhkwsyCdFPSIZcdqG2DjXeRkwWvcGRLqP1v9lWH7weG1OfBrz7wWePvPmDE1IMnqT+itfYgZXskDN2MU8Lz4zkQiKrWdahl6GHfWeyk/cfCBH9ARxrjLPmZrLU4L2sOoUaLRCj6ZH08Se2J29c1b11DaYZwvM3Ngyfzg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7965-72c6-8158-e30f24189985"
}

Recorded Output

%{
  events: 13732834,
  errors: 1556,
  widget_loaded: 0,
  flows_shown: 32571,
  goals_missed: 0,
  goals_reached: 150,
  nps_detractors: 4,
  nps_neutrals: 8,
  nps_promoters: 15,
  page_views: 12158676,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 3027,
  nps_survey_shown: 1928,
  nps_survey_responses: 27,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 1573572,
  builder_events: 148
}

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

    # 2
    53

    # 3
    67

    # 4
    ["ergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FRO", "or. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "791_108880_9_112386651 (state Active) failed with er", "b:2106, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_10", "0, caller id: f006a9f6-4ea4-431d-9bfd-26e49febea", "4304, downloader id: None, current write offset: 10485760", "size: 4194304, reserved size: 41", "gment: [1044381696, 1048575999], key: 7269f1bb6289d89181dcbf70eba006ff, state: DOWNLOADED, downloaded", "d_type: CACHED, last caller: f006a9f6-4ea4-431d-9bfd-26e49febeafb:2106, file segment info: File s", "internal buffer end: 2150289, re", "ts, hash key: 7269f1bb6289d89181dcbf70eba006ff, file_offset_of_buffer_end: 1046531985, read_until_position: 1046562675,", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lix/gqaeejsjrcvszfcoatosgfnlek", "0eba006ff/1044381696: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/726/7269f1bb6289d89181dcbf"]

    (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
    "5 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", "d, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", "that some retryable error happen", "mn timestamp): (attempt to read data part all_104791_108880_9_112386651 (state Active) failed with error. It can mean", "2:2042, kind: Regular, unbound: 0: (while reading col", "0, caller id: 6e0640f4-451d-406a-b0f2-f1da63fa21", "4304, downloader id: None, current write offset: 10485760", "size: 4194304, reserved size: 41", "gment: [1044381696, 1048575999], key: 7269f1bb6289d89181dcbf70eba006ff, state: DOWNLOADED, downloaded", "d_type: CACHED, last caller: 6e0640f4-451d-406a-b0f2-f1da63fa2152:2042, file segment info: File s", "internal buffer end: 2150289, re", "ts, hash key: 7269f1bb6289d89181dcbf70eba006ff, file_offset_of_buffer_end: 1046531985, read_until_position: 1046562675,", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lix/gqaeejsjrcvszfcoatosgfnlek", "0eba006ff/1044381696: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/726/7269f1bb6289d89181dcbf"]

    (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
    "tchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", " timestamp): (attempt to read data part all_104791_108880_9_112386651 (state Active) failed with error. It can", "f:1231, kind: Regular, unbound: 0: (while reading colum", "0, caller id: 84900a4b-3ba9-4a9c-873d-8be3fd02ec", "4304, downloader id: None, current write offset: 10485760", "size: 4194304, reserved size: 41", "gment: [1044381696, 1048575999], key: 7269f1bb6289d89181dcbf70eba006ff, state: DOWNLOADED, downloaded", "d_type: CACHED, last caller: 84900a4b-3ba9-4a9c-873d-8be3fd02ec7f:1231, file segment info: File s", "internal buffer end: 2150289, re", "ts, hash key: 7269f1bb6289d89181dcbf70eba006ff, file_offset_of_buffer_end: 1046531985, read_until_position: 1046562675,", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lix/gqaeejsjrcvszfcoatosgfnlek", "0eba006ff/1044381696: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/726/7269f1bb6289d89181dcbf"]

    (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
    "ld))\n"

    # 2
    52

    # 3
    67

    # 4
    ["ReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "ad data part all_104791_108880_9_112386651 (state Active) failed with error. It can mean that some re", "column timestamp): (attempt to r", "f:1718, kind: Regular, unbound: 0: (while reading", "0, caller id: 9d7aff74-0bdc-414b-878f-9f468e11df", "4304, downloader id: None, current write offset: 10485760", "size: 4194304, reserved size: 41", "gment: [1044381696, 1048575999], key: 7269f1bb6289d89181dcbf70eba006ff, state: DOWNLOADED, downloaded", "d_type: CACHED, last caller: 9d7aff74-0bdc-414b-878f-9f468e11df1f:1718, file segment info: File s", "internal buffer end: 2150289, re", "ts, hash key: 7269f1bb6289d89181dcbf70eba006ff, file_offset_of_buffer_end: 1046531985, read_until_position: 1046562675,", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lix/gqaeejsjrcvszfcoatosgfnlek", "0eba006ff/1044381696: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/726/7269f1bb6289d89181dcbf"]

    (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