19819515 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 7 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.153
Run Time 00:00.812
Inserted 13h ago
Scheduled 11h ago
Completed 11h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "112790",
  "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" => 1772760878798720,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGDsK5dOKs3MSUktik8tS80riUdXwXS9XCKvoDi+uLSoLLUSVTqRAQAYBR9F",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78ce-793c-8f1a-2f5910717306"
}

Recorded Output

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

Errors

Attempt 6—11h ago

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

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

    # 1
    "gorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["ed, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, al", "a part all_4367134_4408939_26_22488012 (state Active) failed with error. It can mean that some retryable error happe", " 0: (while reading column attributes): (attempt to read da", "-49a0-a22b-13eeaf14f5a9:2084, kind: Regular, unbound", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: de1dac49-c3d", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: de1dac49-c3d4-49a0-a22b-13eeaf14f5a9:2084, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , 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 5—11h ago

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

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

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

    # 2
    53

    # 3
    67

    # 4
    ["he query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCR", "tate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry ", ": 0: (while reading column attributes): (attempt to read data part all_4367134_4408939_26_22488012 (", "-43ee-aa9c-db391483672e:2059, kind: Regular, unboun", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: 476d47a2-139", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: 476d47a2-1393-43ee-aa9c-db391483672e:2059, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , 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 4—11h ago

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

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

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

    # 2
    52

    # 3
    67

    # 4
    [" PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM", "me retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool", "es): (attempt to read data part all_4367134_4408939_26_22488012 (state Active) failed with error. It can mean that s", "0: (while reading column attribu", "-404b-89bc-027ba17d04f0:2097, kind: Regular, unbound:", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: 7c46d481-d11", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: 7c46d481-d115-404b-89bc-027ba17d04f0:2097, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , 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—11h 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
    ["etryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "pt to read data part all_4367134_4408939_26_22488012 (state Active) failed with error. It can mean that some ", "-4b90-9114-23d38c9ee25e:2094, kind: Regular, unbound: 0: (while reading column attributes): (atte", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: 543d63c1-a21", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: 543d63c1-a21a-4b90-9114-23d38c9ee25e:2094, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , 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—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
    "OR) (version 25.10.1.7375 (official build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["uting MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPT", "an mean that some retryable error happened, or data is corrupted. Please retry the query: While exe", "9_26_22488012 (state Active) failed with error. It ", "read data part all_4367134_44089", ": (while reading column attributes): (attempt to", "-4fdd-acf7-893f2bc723e9:2040, kind: Regular, unbound: ", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: 8aec6648-505", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: 8aec6648-5056-4fdd-acf7-893f2bc723e9:2040, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , 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—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
    "OR) (version 25.10.1.7375 (official build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["uting MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPT", "an mean that some retryable error happened, or data is corrupted. Please retry the query: While exe", "9_26_22488012 (state Active) failed with error. It ", "read data part all_4367134_44089", ": (while reading column attributes): (attempt to", "-4a04-9ac1-5a5a7c60e08a:2118, kind: Regular, unbound: ", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: 31344715-575", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: 31344715-5756-4a04-9ac1-5a5a7c60e08a:2118, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , 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