19835687 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 08:30.440
Run Time 00:01.230
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "88539",
  "date" => "2026-03-06",
  "query" => "users_reached",
  "window_days" => 30
}

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760640662879,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkLZdOKs3MSUktik8tS80riUeVZiyXyCsoji8uLSpLrUSTYwAAkHEd4Q",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a91-72c5-bfb0-c07a1e04c45d"
}

Recorded Output

%{users_reached: 5, builder_event_users_reached: 1, nps_survey_users_reached: 0}

Errors

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

    # 2
    44

    # 3
    67

    # 4
    ["ted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANN", "error happened, or data is corru", "14319855_14335230_14_22488012 (state Active) failed with error. It can mean that some retryable", "ssed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all", "pmslstzrxltxvanzipipdclks (position: 18094082579, typename: DB::AsynchronousBoundedReadBuffer, compr", ": 0: While reading or decompressing ch-s3-04e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uld/tog", "4-4887-4676-afca-697bddbaeb47:1535, kind: Regular, unboun", "r id: 9a64bd94-4887-4676-afca-697bddbaeb47:1535, current write offset: 18090033152, caller id: 9a64bd", "reserved size: 1048576, download", "y: e779ec0edb31c12a9c652db1ff3304aa, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", "t caller: 9a64bd94-4887-4676-afca-697bddbaeb47:1535, file segment info: File segment: [18090033152, 18094227455], k", "l_position: 18094177496, internal buffer end: 18091081728, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, la", "aa, file_offset_of_buffer_end: 18094082579, read_unt", "b-8441591d3836/mergetree/uld/togdpmslstzrxltxvanzipipdclks, hash key: e779ec0edb31c12a9c652db1ff330", "ddbaeb47:1535, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-04e/aa8129e2-f47e-4b75-bb", "90033152, caller id: 9a64bd94-4887-4676-afca-697", "676-afca-697bddbaeb47:1535, current write offset: 18", "f3304aa, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 9a64bd94-4887-", " system, current cache state: File segment: [18090033152, 18094227455], key: e779ec0edb31c12a9c652db1", "aa/18090033152: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e77/e779ec0edb31c12a9c652db1ff330", "04aa/18090033152: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e77/e779ec0edb31c12a9c652db1ff3"]

    (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