19832127 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:21.361
Run Time 00:00.242
Inserted 9h ago
Scheduled 7h ago
Completed 7h ago (00:01)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760536787887,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a48-73ba-bc51-8cc5f4eec401"
}

Recorded Output

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

Errors

Attempt 4—7h ago

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

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

    # 1
    "5 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", "d, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", "l_4367134_4408939_26_22488012 (state Active) failed with error. It can mean that some retryable error happen", "80e:2096, kind: Regular, unbound: 0: (while reading column attributes): (attempt to read data part a", " caller id: c227ce47-ddbf-4d09-a8e4-1b0c7026", "ded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 24972886016", "7d9eabdf12a7a549b438467ae6b970, state: DOWNLOADED, downlo", "f-4d09-a8e4-1b0c7026d80e:2096, file segment info: File segment: [24968691712, 24972886015], key: 1", "CACHED, last caller: c227ce47-dd", "953233, internal buffer end: 2184213, read_type:", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 24970875925, read_until_position: 2497", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/24968691712: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438"]

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

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

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

    # 1
    "ld))\n"

    # 2
    53

    # 3
    67

    # 4
    ["dPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "ned, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRe", "art all_4367134_4408939_26_22488012 (state Active) failed with error. It can mean that some retryable error happ", " (while reading column attributes): (attempt to read data ", "9c-43f9-ad75-672ddbba3822:2068, kind: Regular, unbound: 0", "ize: 4194304, reserved size: 4194304, downloader id: None, current write offset: 24972886016, caller id: f00c78d8-7", "ment: [24968691712, 24972886015], key: 197d9eabdf12a7a549b438467ae6b970, state: DOWNLOADED, downloaded ", "c-43f9-ad75-672ddbba3822:2068, file segment info: File se", "CACHED, last caller: f00c78d8-79", "953233, internal buffer end: 2184213, read_type:", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 24970875925, read_until_position: 2497", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/24968691712: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438"]

    (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 2—7h ago

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", "939_26_22488012 (state Active) failed with error. It can", ": Regular, unbound: 0: (while reading column attributes): (attempt to read data part all_4367134_440", "wnloader id: None, current write offset: 24972886016, caller id: 71fd43e8-b4de-4ecd-a31a-866e35912565:1614, kin", "9eabdf12a7a549b438467ae6b970, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, d", "e-4ecd-a31a-866e35912565:1614, file segment info: File segment: [24968691712, 24972886015], key: 197", "CACHED, last caller: 71fd43e8-b4", "953233, internal buffer end: 2184213, read_type:", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 24970875925, read_until_position: 2497", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/24968691712: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438"]

    (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—7h ago

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["cuting MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTO", "n mean that some retryable error happened, or data is corrupted. Please retry the query: While ex", "s): (attempt to read data part all_4367134_4408939_26_22488012 (state Active) failed with error. It c", "ler id: 4e9a1caf-123c-4436-b9fa-ef323eb63dd3:2094, kind: Regular, unbound: 0: (while reading column attribut", "ed size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 24972886016, ca", "le segment: [24968691712, 24972886015], key: 197d9eabdf12a7a549b438467ae6b970, state: DOWNLOADED, downloa", "c-4436-b9fa-ef323eb63dd3:2094, file segment info: F", "CACHED, last caller: 4e9a1caf-12", "953233, internal buffer end: 2184213, read_type:", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 24970875925, read_until_position: 2497", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/24968691712: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438"]

    (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