19831670 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 02:57.019
Run Time 00:02.707
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "214924",
  "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" => 1772758438187949,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkEtuxCAQRFEWWSQea/JZ5AC5F8K4xoOCadSNzeSQOUxuEAyWk2yQ6tGfqk5Kqbd8jxUhyaDUy3cRzMRiVD5lN05I2pMZMRbwePGURcuVciiym8h40bMTqd+nphnGXivoQxQ9IrGxqY3sNhKwFOTrik1HppkSasFDNBP06pA3O0/vuRPLQGioFDzPNDgPjVsEOwSL1ubCr7HzNlUWXvF5sNc/jCGRgtTOM2bjimuTEuaYWs6dSbnKFmOXAy1lXU26k0t5/wGKCC36Dqx39qOVDCaEEvJw1JsY7QLRx/XvvnI/LM6P4B0a9QPJj5kC",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a3f-7eef-8e1f-99c1b0a57308"
}

Recorded Output

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

Errors

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

    # 2
    51

    # 3
    67

    # 4
    [": While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (versi", " or data is corrupted. Please retry the quer", "t all_1009292_1010948_4_112386651 (state Active) failed with error. It can mean that some retryable error happened", "ompressed data header: <uninitialized>): (while reading column timestamp): (attempt to read data pa", "5, typename: DB::AsynchronousBoundedReadBuffer, ", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uyk/zjywrenvzjkzswkgfqrhweyjasuoq (position: 4531674", "reading or decompressing ch-s3-a", "rrent write offset: 453225756, caller id: 4606e9fa-713d-4e65-8b33-37c235ba62ff:2314, kind: Regular, unbound: 0: While", "LOADED, downloaded size: 240924, reserved size: 240924, downloader id: None, c", "5], key: 4c020355df4e1ade61db802151327184, state: DOW", "2314, file segment info: File segment: [452984832, 4532257", "n: 453199526, internal buffer end: 182573, read_type: CACHED, last caller: 4606e9fa-713d-4e65-8b33-37c235ba62ff", "asuoq, hash key: 4c020355df4e1ade61db802151327184, file_offset_of_buffer_end: 453167405, read_until_positi", "tput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uyk/zjywrenvzjkzswkgfqrhwey", "151327184/452984832: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/4c0/4c020355df4e1ade61db80"]

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

    # 2
    51

    # 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", "state Active) failed with error. It can ", "tialized>): (while reading column timestamp): (attempt to read data part all_1076872_1082713_5_112386651 ", "ypmcvjuocdqcbjjxaiext (position: 1572234611, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unin", ": 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/poy/qwszhsw", "b1a5-59b04d628a54:1391, kind: Regular, unboun", "d size: 4097179, downloader id: None, current write offset: 1572766875, caller id: 6a1995ae-07eb-4a35", "e7, state: DOWNLOADED, downloaded size: 4097179, reserv", "69696, 1572766874], key: 57353a643b80aae157481656b4155", "d628a54:1391, file segment info: File segment: [1568", "ntil_position: 1572267651, internal buffer end: 3564915, read_type: CACHED, last caller: 6a1995ae-07eb-4a35-b1a5-59b0", "jjxaiext, hash key: 57353a643b80aae157481656b41557e7, file_offset_of_buffer_end: 1572234611, read_", "ut error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/poy/qwszhswwypmcvjuocdqc", "6b41557e7/1568669696: , errno: 5, strerror: Input/out", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/573/57353a643b80aae1574816"]

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

    # 2
    52

    # 3
    67

    # 4
    [" query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FR", "ate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry th", "alized>): (while reading column timestamp): (attempt to read data part all_1076872_1082713_5_112386651 (s", "xaiext (position: 1572234611, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninit", "ing or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/poy/qwszhswwypmcvjuocdqcbj", "c573230:2301, kind: Regular, unbound: 0: While rea", "erved size: 4097179, downloader id: None, current write offset: 1572766875, caller id: 0b37be8b-be20-4f9b-a1db-76b2", "57e7, state: DOWNLOADED, downloaded size: 4097179, re", "8669696, 1572766874], key: 57353a643b80aae157481656b41", "c573230:2301, file segment info: File segment: [15", "ntil_position: 1572267651, internal buffer end: 3564915, read_type: CACHED, last caller: 0b37be8b-be20-4f9b-a1db-76b2", "jjxaiext, hash key: 57353a643b80aae157481656b41557e7, file_offset_of_buffer_end: 1572234611, read_", "ut error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/poy/qwszhswwypmcvjuocdqc", "6b41557e7/1568669696: , errno: 5, strerror: Input/out", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/573/57353a643b80aae1574816"]

    (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