19826730 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 03:58.308
Run Time 00:03.680
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:04)
Cancelled
Discarded

Args

%{
  "account_id" => "206907",
  "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" => 1772758186668686,
  "recorded" => true,
  "return" => "g1AAAAGleJxVkc1OxCAUhXHjQjvNxJjozhfxNdyZEErPdIgUCJcWZzmv4sKn8OG8BdLohuR83J9zIAkhnvMtVrhEg7h5+2IRo4+kRD5kM05I0no1YmRwf7I+k6Szz45lN3llSc6GqFwfqo5Q+lxA7wLJESkqnerIbiMOCyNbVmw6RD/7hFJwF9QEuRpktiOerrkjHQFXERc8zH4wFhKfAdHAadQ245oxbvt+ycdtMC1xxWX3+/iHRVDwjkrzEbMybFylhDmkGrUx4ofZkjQ5+IU3lrCNnPj8B3yAq+kb0Nboj1oyKOc45+6oVyHoBST3D3h9z/2wGDsiNqh+fgGeAZql",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79aa-763a-8f07-7612ded6cafa"
}

Recorded Output

%{
  events: 87458,
  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: 6017,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 42527,
  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: 80988,
  builder_events: 188
}

Errors

Attempt 3—10h 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
    53

    # 3
    67

    # 4
    ["geTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", ". It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing Me", "4790_8_112386651 (state Active) failed with erro", ": (attempt to read data part all_102708_1", " unbound: 0: (while reading column timestamp", "urrent write offset: 574619648, caller id: 12b6bd87-eee0-4206-b369-714b3df8dd47:2061, kind: Regular", "82392, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, ", " 574619647], key: d1d1f82f97a49fa23d09939d8c", "st caller: 12b6bd87-eee0-4206-b369-714b3df8dd47:2061, file segment info: File segment: [570425344", "6, internal buffer end: 2618913, read_type: CACHED, l", "r, hash key: d1d1f82f97a49fa23d09939d8ca82392, file_offset_of_buffer_end: 573044257, read_until_position: 5730695", "ror: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/hws/ajstevgyiazrhphpmiswaisfeuy", "d8ca82392/570425344: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/d1d/d1d1f82f97a49fa23d0993"]

    (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—10h 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
    54

    # 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_14144_16861_7_112386651 (state Active) failed with error. It can mean that some retr", "reading column timestamp): (atte", "b0f-9bd52154ee12:2099, kind: Regular, unbound: 0: (while", "d size: 4194304, downloader id: None, current write offset: 725614592, caller id: 822772b0-e846-45cd-", "downloaded size: 4194304, reserv", "99f5ec01fa7c70cdcb8df66f9e32530, state: DOWNLOADED,", "t caller: 822772b0-e846-45cd-8b0f-9bd52154ee12:2099, file segment info: File segment: [721420288, 725614591], key: ", "380, internal buffer end: 2614713, read_type: CACHED, la", "vg, hash key: 399f5ec01fa7c70cdcb8df66f9e32530, file_offset_of_buffer_end: 724035001, read_until_position: 72405", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/xie/huyytmmoqanicvwnbdijzcnfyq", "6f9e32530/721420288: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/399/399f5ec01fa7c70cdcb8df"]

    (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—11h 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
    53

    # 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_14144_16861_7_112386651 (state Active) failed with error.", "d3b-269783bae0f3:2092, kind: Regular, unbound: 0: (while ", "d size: 4194304, downloader id: None, current write offset: 725614592, caller id: fb732b8a-a88e-4364-", "downloaded size: 4194304, reserv", "99f5ec01fa7c70cdcb8df66f9e32530, state: DOWNLOADED,", "t caller: fb732b8a-a88e-4364-9d3b-269783bae0f3:2092, file segment info: File segment: [721420288, 725614591], key: ", "380, internal buffer end: 2614713, read_type: CACHED, la", "vg, hash key: 399f5ec01fa7c70cdcb8df66f9e32530, file_offset_of_buffer_end: 724035001, read_until_position: 72405", " error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/xie/huyytmmoqanicvwnbdijzcnfyq", "6f9e32530/721420288: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/399/399f5ec01fa7c70cdcb8df"]

    (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