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

Args

%{
  "account_id" => "204907",
  "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" => 1772760278746736,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79a0-77b1-bfea-c3b5047ae782"
}

Recorded Output

%{users_reached: 0, builder_event_users_reached: 0, 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
    "ial build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offic", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "state Active) failed with error. It can ", ">): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 ", "byyrqfhqvn (position: 13236127924, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialize", "8441591d3836/mergetree/niy/jcoefmaqpniynhwkpj", "44e:1535, kind: Regular, unbound: 0: While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb", " caller id: c3c19923-e720-4c9b-8230-308f64ca", "230-308f64cae44e:1535, current write offset: 13233029120", "NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: c3c19923-e720-4c9b-", "2ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED", "9b-8230-308f64cae44e:1535, file segment info: File segment: [13233029120, 13237223423], key: 312112", "nternal buffer end: 13234077696, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: c3c19923-e720-4", "h key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 13236127924, read_until_position: 13236205378, ", "836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, ha", ":1535, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d", ", caller id: c3c19923-e720-4c9b-8230-308f64cae44", ": 1048576, downloader id: c3c19923-e720-4c9b-8230-308f64cae44e:1535, current write offset: 1323302912", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [13233029120, 13237223423", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/13233029120: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/13233029120: , 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