19832758 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 09:05.498
Run Time 00:04.145
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:05)
Cancelled
Discarded

Args

%{
  "account_id" => "219936",
  "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" => 1772758497215014,
  "recorded" => true,
  "return" => "g1AAAAGoeJxVkUFOxDAMRSMhIVTaakAsWHCG2XOayEk9nYg0ieK0hgvMBTgQe06F05YRbCL9px/nf6copZ75FhcMhYy6++5F5BwzgeKO3TBi0T7CgIOA+5OPTJrOkYNR6ubI7RjBk54c0eroNp0R7HkFfUikBywZbKlTH7itJOAsyBO03FWdcpxiQTG8cJNgRL045JqouXBLNiOGDcnMxyka51Hje8LsMFistEku7NlEHepUmvOCH9e8/Sc//cEZKcVAcvmVDziBk+BQCk6pbG13RrKb2mSXJs7y4lp2Jyc5/4GYMGztd2C9s2+bxUAI0vMatIeU7Iykf/9AfV24N7PzA+YdgvoBWq6a/Q",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a54-7a1a-aec1-db268f966226"
}

Recorded Output

%{
  events: 576014,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 814,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 17,
  nps_neutrals: 12,
  nps_promoters: 28,
  page_views: 526982,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 3731,
  nps_survey_responses: 57,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 49030,
  builder_events: 0
}

Errors

Attempt 2—9h ago

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

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

    # 1
    "IPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCR", " is corrupted. Please retry the query: While reading part all_146128294_146812953_37_146814435: W", "retryable error happened, or dat", "tempt to read data part all_146128294_146812953_37_146814435 (state Active) failed with error. It can mean that some", " <uninitialized>): (while reading column user_id.size): (a", " DB::AsynchronousBoundedReadBuffer, compressed data header", "47e-4b75-bbcb-8441591d3836/mergetree/eht/fcallrojsmwmincadfihkdrztiqlm (position: 2705326080, typename", "86-04a036b834a5:44103, kind: Regular, unbound: 0: While reading or decompressing ch-s3-a72/aa8129e2-", "e: 4194304, reserved size: 4194304, downloader id: None, current write offset: 2709520384, caller id: 6a6eeac9-e058-4114-a", "ment: [2705326080, 2709520383], key: c5d5e77c6fd0a45fe5a67d4967d9e4bf, state: DOWNLOADED, downloaded si", "-ad86-04a036b834a5:44103, file segment info: File se", "position: 2705329899, internal buffer end: 0, read_type: CACHED, last caller: 6a6eeac9-e058-411", "kdrztiqlm, hash key: c5d5e77c6fd0a45fe5a67d4967d9e4bf, file_offset_of_buffer_end: 2705326080, read_until", "put error: Cache info: Buffer path: ch-s3-a72/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/eht/fcallrojsmwmincadfi", "967d9e4bf/2705326080: , errno: 5, strerror: Input/ou", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/c5d/c5d5e77c6fd0a45fe5a67d"]

    (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—9h 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
    49

    # 3
    67

    # 4
    ["refetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (versi", "7_146814435: While executing MergeTreeSelect(pool: ", "ppened, or data is corrupted. Please retry the query: While reading part all_146128294_146812953_", "mean that some retryable error h", "46814435 (state Active) failed with error. It can", "part all_146128294_146812953_37_", "ompressed data header: <uninitialized>): (while reading column user_id.size): (attempt to read data", "ht/fcallrojsmwmincadfihkdrztiqlm (position: 2705326080, typename: DB::AsynchronousBoundedReadBuffer, ", "hile reading or decompressing ch-s3-a72/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "t write offset: 2709520384, caller id: 514e1ce1-9fbf-4442-99b8-69165afb0d26:42734, kind: Regular, unbound: 0: ", ", reserved size: 4194304, downloader id: None, curre", "egment: [2705326080, 2709520383], key: c5d5e77c6fd0a45fe5a67d4967d9e4bf, state: DOWNLOADED, downloaded size: 419430", "-99b8-69165afb0d26:42734, file segment info: File ", "position: 2705329899, internal buffer end: 0, read_type: CACHED, last caller: 514e1ce1-9fbf-444", "kdrztiqlm, hash key: c5d5e77c6fd0a45fe5a67d4967d9e4bf, file_offset_of_buffer_end: 2705326080, read_until", "put error: Cache info: Buffer path: ch-s3-a72/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/eht/fcallrojsmwmincadfi", "967d9e4bf/2705326080: , errno: 5, strerror: Input/ou", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/c5d/c5d5e77c6fd0a45fe5a67d"]

    (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