19817927 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 07:02.168
Run Time 00:03.224
Inserted 13h ago
Scheduled 12h ago
Completed 12h ago (00:04)
Cancelled
Discarded

Args

%{
  "account_id" => "81099",
  "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" => 1772760809284915,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYBCWLpdOKs3MSUktik8tS80riUdXwVtWLpFXUBxfXFpUllqJKp3IAAD2dh6O",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78a2-71c0-81db-3f6722125c52"
}

Recorded Output

%{
  users_reached: 4891,
  builder_event_users_reached: 3446,
  nps_survey_users_reached: 0
}

Errors

Attempt 1—12h 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
    42

    # 3
    67

    # 4
    ["(CANNOT_OPEN_FILE) (version 25.1", "se retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread).", " Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Ple", "ninitialized>): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (stat", "hwkpjubyyrqfhqvn (position: 7549237152, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <", "e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniy", ": While reading or decompressing ch-s3-30f/aa812", "158-8898-b960d73db5a2:2129, kind: Regular, unbound: ", "d: 41bef600-36f4-4158-8898-b960d73db5a2:2129, current write offset: 7545552896, caller id: 41bef600-36f4-", "te: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader ", "6, 7553941503], key: 31211262ceb296d126dc7cad9682b2e5, st", "3db5a2:2129, file segment info: File segment: [75455528", "_FS_READ_AND_PUT_IN_CACHE, last caller: 41bef600-36f4-4158-8898-b960d", "17006, internal buffer end: 7546601472, read_type: REMOT", ", hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 7549237152, read_until_position: 7549", "1591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqv", "5a2:2129, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-84", "45552896, caller id: 41bef600-36f4-4158-8898-b960d73d", "rved size: 1048576, downloader id: 41bef600-36f4-4158-8898-b960d73db5a2:2129, current write offset: 7", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [7545552896, 7553941503], key: 31211262ceb296d126dc7cad9682b2e5", "e5/7545552896: , errno: 30, strerror: Read-only fi", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b", "b2e5/7545552896: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

    (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