19833391 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:28.228
Run Time 00:00.445
Inserted 5h ago
Scheduled 3h ago
Completed 3h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "221315",
  "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" => 1772761999018716,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a61-7517-9584-52b078ff4d51"
}

Recorded Output

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

Errors

Attempt 2—3h ago

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

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

    # 1
    "ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", "882_12_22488012 (state Active) failed with error. It", "read data part all_15903611_1591", ": (while reading column attributes): (attempt to", "-4a35-90ac-3a5a024fa2bc:2064, kind: Regular, unbound: ", "served size: 4194304, downloader id: None, current write offset: 23899144192, caller id: 9850aa68-7d5", "9302c73, state: DOWNLOADED, downloaded size: 4194304, r", " 23899144191], key: 890af127dc90a52972cfd380", "info: File segment: [23894949888", "ED, last caller: 9850aa68-7d56-4a35-90ac-3a5a024fa2bc:2064, file segment", " 23897470477, internal buffer end: 2339334, read_type: CAC", "dvwgrd, hash key: 890af127dc90a52972cfd38079302c73, file_offset_of_buffer_end: 23897289222, read_until_position", " error: Cache info: Buffer path: ch-s3-d4b/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/xbz/zunxinmmnkzkmstrylozjs", "079302c73/23894949888: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/890/890af127dc90a52972cfd3"]

    (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—3h 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
    53

    # 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", "pt to read data part all_15903611_15914882_12_22488012 (state Active) failed with error. It can mean that som", "-48d4-8811-53dba5e4888b:1778, kind: Regular, unbound: 0: (while reading column attributes): (atte", "served size: 4194304, downloader id: None, current write offset: 23899144192, caller id: 44818f4c-d25", "9302c73, state: DOWNLOADED, downloaded size: 4194304, r", " 23899144191], key: 890af127dc90a52972cfd380", "info: File segment: [23894949888", "ED, last caller: 44818f4c-d25a-48d4-8811-53dba5e4888b:1778, file segment", " 23897470477, internal buffer end: 2339334, read_type: CAC", "dvwgrd, hash key: 890af127dc90a52972cfd38079302c73, file_offset_of_buffer_end: 23897289222, read_until_position", " error: Cache info: Buffer path: ch-s3-d4b/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/xbz/zunxinmmnkzkmstrylozjs", "079302c73/23894949888: , errno: 5, strerror: Input/outpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/890/890af127dc90a52972cfd3"]

    (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