19823098 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 02:20.180
Run Time 00:36.084
Inserted 4h ago
Scheduled 2h ago
Completed 2h ago (00:37)
Cancelled
Discarded

Args

%{
  "account_id" => "113582",
  "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" => 1772757763148784,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkTFOxDAQRQ1CaBWSaIUoKKkpqLgAB0AcwZo4s1lrHdvyOBkoKLgIB6Gh5FIU2HFYQWPpP32P/x9HIcQ1n+OMNlIn7r85iRBcIHjjhnU/YJTGQY89CL7YGcckae/YdkJsPrkeHBiSoyZaHE3RAUHtF9BaT7LHGEDFPPWU60wsTgmZrJusfXCji5gMZ1x5GFDOGjklun364JpUQLQFpZmXo+u0QYnPHoNGqzDTymt7zHby/sjbPJimMONLwfDFV39YQPLOUrq84S2OoFNwiBFHH0vblVHaTW6yys5N6cWl7Ep26fwHnEdb2q9AGa0OxdKBtannMehr4Ba8VxOS/P2G6nDDbTdp02M4QvFw9wPhXp7X",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-793f-76a9-8b44-53b7b26b899e"
}

Recorded Output

%{
  events: 3472503,
  errors: 129,
  widget_loaded: 0,
  flows_shown: 2239,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 2,
  nps_neutrals: 2,
  nps_promoters: 4,
  page_views: 2772922,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 106061,
  nps_survey_shown: 199,
  nps_survey_responses: 8,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 97650,
  appcues_events: 682784,
  builder_events: 16686
}

Errors

Attempt 4—2h ago

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

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

    # 1
    "al build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["fetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (offici", "rror happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Pr", "It can mean that some retryable ", "eading column timestamp): (attempt to read data part all_51878_56740_8_112386651 (state Active) failed with error.", "4a6477ab:2035, kind: Regular, unbound: 0: (while ", "045430272, caller id: fc7fcb13-e528-429a-b671-536", "id: None, current write offset: ", "72ba7017b23, state: PARTIALLY_DOWNLOADED, downloaded size: 1048576, reserved size: 1048576, downloader", "44381696, 1048575999], key: f9a989cfd5dcf4972b46", "3614a6477ab:2035, file segment info: File segment: [1", "_position: 1044581145, internal buffer end: 168923, read_type: CACHED, last caller: fc7fcb13-e528-429a-b671-", "nkzyhgdaqxcw, hash key: f9a989cfd5dcf4972b46f72ba7017b23, file_offset_of_buffer_end: 1044550619, read_unti", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/bdk/jbeyvfobykvtisvd", "ba7017b23/1044381696: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f9a/f9a989cfd5dcf4972b46f7"]

    (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—2h 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
    56

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "pt to read data part all_51878_56740_8_112386651 (state Active) failed with error. It can mean that some retr", " id: 131523d3-2913-4cf7-a293-ad3fa685ca28:1151, kind: Regular, unbound: 0: (while reading column timestamp): (atte", "d size: 1048576, reserved size: 1048576, downloader id: None, current write offset: 1045430272, calle", "2b46f72ba7017b23, state: PARTIALLY_DOWNLOADED, download", "d3fa685ca28:1151, file segment info: File segment: [1044381696, 1048575999], key: f9a989cfd5dcf49", "_position: 1044581145, internal buffer end: 168923, read_type: CACHED, last caller: 131523d3-2913-4cf7-a293-", "nkzyhgdaqxcw, hash key: f9a989cfd5dcf4972b46f72ba7017b23, file_offset_of_buffer_end: 1044550619, read_unti", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/bdk/jbeyvfobykvtisvd", "ba7017b23/1044381696: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f9a/f9a989cfd5dcf4972b46f7"]

    (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—2h 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_51878_56740_8_112386651 (state Active) failed with error. It can mean that some retr", "column timestamp): (attempt to r", "3c27aabb:1778, kind: Regular, unbound: 0: (while reading", "045430272, caller id: a29965c3-27a4-4bc2-86f6-4b1", "id: None, current write offset: ", "72ba7017b23, state: PARTIALLY_DOWNLOADED, downloaded size: 1048576, reserved size: 1048576, downloader", "044381696, 1048575999], key: f9a989cfd5dcf4972b46", "b183c27aabb:1778, file segment info: File segment: [", "_position: 1044581145, internal buffer end: 168923, read_type: CACHED, last caller: a29965c3-27a4-4bc2-86f6-", "nkzyhgdaqxcw, hash key: f9a989cfd5dcf4972b46f72ba7017b23, file_offset_of_buffer_end: 1044550619, read_unti", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/bdk/jbeyvfobykvtisvd", "ba7017b23/1044381696: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f9a/f9a989cfd5dcf4972b46f7"]

    (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—3h 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
    56

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "pt to read data part all_51878_56740_8_112386651 (state Active) failed with error. It can mean that some retr", " id: 9979fdd1-532e-4149-872a-defaff440103:2115, kind: Regular, unbound: 0: (while reading column timestamp): (atte", "d size: 1048576, reserved size: 1048576, downloader id: None, current write offset: 1045430272, calle", "6f72ba7017b23, state: PARTIALLY_DOWNLOADED, download", "efaff440103:2115, file segment info: File segment: [1044381696, 1048575999], key: f9a989cfd5dcf4972b", "_position: 1044581145, internal buffer end: 168923, read_type: CACHED, last caller: 9979fdd1-532e-4149-872a-", "nkzyhgdaqxcw, hash key: f9a989cfd5dcf4972b46f72ba7017b23, file_offset_of_buffer_end: 1044550619, read_unti", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/bdk/jbeyvfobykvtisvd", "ba7017b23/1044381696: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f9a/f9a989cfd5dcf4972b46f7"]

    (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