19831231 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 03:06.803
Run Time 00:00.830
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:01)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760516391607,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a36-75cb-a206-1cd1a2976248"
}

Recorded Output

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

Errors

Attempt 2—4h ago

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

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

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

    # 2
    53

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_READ", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "d: 0: (while reading column timestamp): (attempt to read data part all_22284904_22717272_59_22712811 (state Ac", "-8f5b-487e-b779-575b0289ee1d:2104, kind: Regular, unbou", " None, current write offset: 679477248, caller id: a9a4fc1", "34f24889e3919049, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id", "679477247], key: da80b8427261b14", "9ee1d:2104, file segment info: File segment: [675282944,", "sition: 677565328, internal buffer end: 2252384, read_type: CACHED, last caller: a9a4fc17-8f5b-487e-b779-575b02", "uicjeixmkiudcxfxulr, hash key: da80b8427261b14d34f24889e3919049, file_offset_of_buffer_end: 677535328, read_until_p", "rror: Cache info: Buffer path: ch-s3-bbd/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/pnt/iaqtvhtrv", "9e3919049/675282944: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/da8/da80b8427261b14d34f248"]

    (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—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
    "7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["ct(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.", " retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSel", "ad data part all_22284904_22717272_59_22712811 (state Active) failed with error. It can mean that som", "9ef-bf47b436e402:2080, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to r", " size: 4194304, downloader id: None, current write offset: 679477248, caller id: dcf95f7a-d161-4c31-", "049, state: DOWNLOADED, downloaded size: 4194304, reserve", "944, 679477247], key: da80b8427261b14d34f24889e391", "6e402:2080, file segment info: File segment: [67528", "sition: 677565328, internal buffer end: 2252384, read_type: CACHED, last caller: dcf95f7a-d161-4c31-a9ef-bf47b4", "uicjeixmkiudcxfxulr, hash key: da80b8427261b14d34f24889e3919049, file_offset_of_buffer_end: 677535328, read_until_p", "rror: Cache info: Buffer path: ch-s3-bbd/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/pnt/iaqtvhtrv", "9e3919049/675282944: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/da8/da80b8427261b14d34f248"]

    (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