19817587 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 01:26.311
Run Time 00:01.777
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "84352",
  "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" => 1772759294347473,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGB6Wi6dVJqZk5JaFJ9alppXEo+iIpGxXCKvoDi+uLSoLLUSTS4GANo1HyA",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-789b-7151-8dac-83ec82573d94"
}

Recorded Output

%{
  users_reached: 741,
  builder_event_users_reached: 1,
  nps_survey_users_reached: 92
}

Errors

Attempt 4—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
    "ILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["ry: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_F", "led with error. It can mean that some retryable error happened, or data is corrupted. Please retry the qu", "e reading column account_id): (attempt to read data part all_10690085_11070041_40_22488012 (state Active) fa", "t write offset: 2770464, caller id: 4f02bbb9-77ef-4755-b3d5-1a1eb09e56fb:1803, kind: Regular, unbound: 0: (whi", ", reserved size: 2770464, downloader id: None, curre", " info: File segment: [0, 2770463], key: c984985d62333fc2bce6d5df69c2fd4b, state: DOWNLOADED, downloaded size: 277046", "77ef-4755-b3d5-1a1eb09e56fb:1803, file segmen", "until_position: 1160146, internal buffer end: 1160080, read_type: CACHED, last caller: 4f02bbb9", "ujjerqqxqhpzrtrp, hash key: c984985d62333fc2bce6d5df69c2fd4b, file_offset_of_buffer_end: 1160080, read", "7e-4b75-bbcb-8441591d3836/mergetree/oph/hqeiqwrlhuxd", "f69c2fd4b/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-f04/aa8129e2-f", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/c98/c984985d62333fc2bce6d5"]

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

    # 2
    55

    # 3
    67

    # 4
    ["ry: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_F", "led with error. It can mean that some retryable error happened, or data is corrupted. Please retry the qu", "e reading column account_id): (attempt to read data part all_10690085_11070041_40_22488012 (state Active) fa", "t write offset: 2770464, caller id: 0074a4d1-bfb8-482e-b347-ba162e9b8191:2119, kind: Regular, unbound: 0: (whi", ", reserved size: 2770464, downloader id: None, curre", " info: File segment: [0, 2770463], key: c984985d62333fc2bce6d5df69c2fd4b, state: DOWNLOADED, downloaded size: 277046", "bfb8-482e-b347-ba162e9b8191:2119, file segmen", "until_position: 1160146, internal buffer end: 1160080, read_type: CACHED, last caller: 0074a4d1", "ujjerqqxqhpzrtrp, hash key: c984985d62333fc2bce6d5df69c2fd4b, file_offset_of_buffer_end: 1160080, read", "7e-4b75-bbcb-8441591d3836/mergetree/oph/hqeiqwrlhuxd", "f69c2fd4b/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-f04/aa8129e2-f", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/c98/c984985d62333fc2bce6d5"]

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

    # 2
    55

    # 3
    67

    # 4
    ["ry: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_F", "led with error. It can mean that some retryable error happened, or data is corrupted. Please retry the qu", "e reading column account_id): (attempt to read data part all_10690085_11070041_40_22488012 (state Active) fa", "t write offset: 2770464, caller id: 6b7ff25e-6c8b-44b7-ae62-0154fbd4090a:2103, kind: Regular, unbound: 0: (whi", ", reserved size: 2770464, downloader id: None, curre", " info: File segment: [0, 2770463], key: c984985d62333fc2bce6d5df69c2fd4b, state: DOWNLOADED, downloaded size: 277046", "6c8b-44b7-ae62-0154fbd4090a:2103, file segmen", "until_position: 1160146, internal buffer end: 1160080, read_type: CACHED, last caller: 6b7ff25e", "ujjerqqxqhpzrtrp, hash key: c984985d62333fc2bce6d5df69c2fd4b, file_offset_of_buffer_end: 1160080, read", "7e-4b75-bbcb-8441591d3836/mergetree/oph/hqeiqwrlhuxd", "f69c2fd4b/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-f04/aa8129e2-f", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/c98/c984985d62333fc2bce6d5"]

    (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
    "ILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["ry: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_F", "led with error. It can mean that some retryable error happened, or data is corrupted. Please retry the qu", "e reading column account_id): (attempt to read data part all_10690085_11070041_40_22488012 (state Active) fa", "t write offset: 2770464, caller id: 0282cc81-95e3-4c73-8831-23489325b680:2117, kind: Regular, unbound: 0: (whi", ", reserved size: 2770464, downloader id: None, curre", " info: File segment: [0, 2770463], key: c984985d62333fc2bce6d5df69c2fd4b, state: DOWNLOADED, downloaded size: 277046", "95e3-4c73-8831-23489325b680:2117, file segmen", "until_position: 1160146, internal buffer end: 1160080, read_type: CACHED, last caller: 0282cc81", "ujjerqqxqhpzrtrp, hash key: c984985d62333fc2bce6d5df69c2fd4b, file_offset_of_buffer_end: 1160080, read", "7e-4b75-bbcb-8441591d3836/mergetree/oph/hqeiqwrlhuxd", "f69c2fd4b/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-f04/aa8129e2-f", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/c98/c984985d62333fc2bce6d5"]

    (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