19823346 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 05:11.229
Run Time 00:07.910
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:08)
Cancelled
Discarded

Args

%{
  "account_id" => "112261",
  "date" => "2026-03-06",
  "query" => "event_counts",
  "window_days" => 7
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772757778702020,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkUFOwzAQRd0KsSBpqBALthyJE1i289taOLblcTogcQYOwi3YcCskJklblY2l//Rn/L9dlVJPfIsjYiWr1vZTRCmpkLnnDft+j6pDMj16q9TzFze7kJg0HRJHIWvP7T6ZQHrwROiN4s2iC4w7CGi4i5l0j1qMq9Nixe1EIkZBYdKbSeeShlQxG+6y2UMfPVhCrZpfbskVIC5IDA9Dsj5A4y2jeESHZczHq2wfvJ0W01iOeF+wmB6vWAHlFGke3mIwXoKbWjHkOndpTozkeUR2J2nTKDfOZU9kJ+c/kDLiDM4zLnj3ulisiVF6XhJ1Jmc3gvT5G9TLN3d29KFHucDVzc8fAMycpA",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7944-717b-badb-0aa960c55d6c"
}

Recorded Output

%{
  events: 156302,
  errors: 15,
  widget_loaded: 8618,
  flows_shown: 617,
  goals_missed: 0,
  goals_reached: 11,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 68605,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 636,
  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: 20929,
  builder_events: 66758
}

Errors

Attempt 3—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
    "build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["ool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official ", "While executing MergeTreeSelect(", "ed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query:", " reading column timestamp): (attempt to read data part all_83382_86137_8_112386651 (state Active) fai", "b-edb212b51776:1174, kind: Regular, unbound: 0: (whil", "e: 4194304, reserved size: 4194304, downloader id: None, current write offset: 629145600, caller id: a97ac931-1f2e-4a74-ad", " info: File segment: [624951296, 629145599], key: 1dc2ecc5045c6bf0de4c11dfc6219c6e, state: DOWNLOADED, downloaded si", "r end: 305552, read_type: CACHED, last caller: a97ac931-1f2e-4a74-ad5b-edb212b51776:1174, file segmen", "e4c11dfc6219c6e, file_offset_of_buffer_end: 625256848, read_until_position: 625286812, internal buff", "2-f47e-4b75-bbcb-8441591d3836/mergetree/vjs/mcfzjnlremovcnzjjxahaxxstobir, hash key: 1dc2ecc5045c6bf0", "fc6219c6e/624951296: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8129", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/1dc/1dc2ecc5045c6bf0de4c11"]

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

    # 2
    53

    # 3
    67

    # 4
    ["cuting MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTO", "n mean that some retryable error happened, or data is corrupted. Please retry the query: While ex", "6031_7_112386651 (state Active) failed with error. It c", ": (attempt to read data part all_173528_1", "d: e93db728-9aab-4bbe-bb4d-78a91aff8830:44649, kind: Regular, unbound: 0: (while reading column timestamp", "write offset: 591396864, caller ", "NLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current", "863], key: cbac3472b28b374a50ddc563b12ebc91, state: DO", "49, file segment info: File segment: [587202560, 59139", "ion: 587579975, internal buffer end: 344832, read_type: CACHED, last caller: e93db728-9aab-4bbe-bb4d-78a91aff8830:44", "sz, hash key: cbac3472b28b374a50ddc563b12ebc91, file_offset_of_buffer_end: 587547392, read_until_posi", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/krd/qxggyktdnjakvuokbliufzytrd", "3b12ebc91/587202560: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/cba/cbac3472b28b374a50ddc5"]

    (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", " can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "umn timestamp): (attempt to read data part all_173528_176031_7_112386651 (state Active) failed with error. I", "9b4:43214, kind: Regular, unbound: 0: (while reading co", "bf759760-ee6a-4f36-acf4-ebe8446c", " current write offset: 591396864, caller id:", "WNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None", "1396863], key: cbac3472b28b374a50ddc563b12ebc91, state: D", "14, file segment info: File segment: [587202560, 5", "ion: 587579975, internal buffer end: 344832, read_type: CACHED, last caller: bf759760-ee6a-4f36-acf4-ebe8446c79b4:43", "sz, hash key: cbac3472b28b374a50ddc563b12ebc91, file_offset_of_buffer_end: 587547392, read_until_posi", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/krd/qxggyktdnjakvuokbliufzytrd", "3b12ebc91/587202560: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/cba/cbac3472b28b374a50ddc5"]

    (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