19826387 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.075
Run Time 00:00.668
Inserted 16h ago
Scheduled 14h ago
Completed 14h ago (00:01)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772761868071348,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkK5dOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCQkB3h",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79a3-774d-bce7-66e061040085"
}

Recorded Output

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

Errors

Attempt 4—14h 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
    53

    # 3
    67

    # 4
    ["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", "2128_32_22488012 (state Active) failed with error. It can", "attempt to read data part all_4041632_42", "(while reading column user_id): ", "bf-14d1e10cd085:2072, kind: Regular, unbound: 0:", "e: 4194304, reserved size: 4194304, downloader id: None, current write offset: 1568669696, caller id: ee11733b-61c4-45d2-8", "e segment: [1564475392, 1568669695], key: f377abda2b0159efe7e224070af7df1b, state: DOWNLOADED, downloaded si", "1c4-45d2-80bf-14d1e10cd085:2072, file segment info: Fi", "_until_position: 1566740771, internal buffer end: 2235773, read_type: CACHED, last caller: ee11733b-", "oprzjyyctxeyz, hash key: f377abda2b0159efe7e224070af7df1b, file_offset_of_buffer_end: 1566711165, rea", "/output error: Cache info: Buffer path: ch-s3-48a/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/dyz/alqyoxaewrewemz", "70af7df1b/1564475392: , errno: 5, strerror: Inpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f37/f377abda2b0159efe7e224"]

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

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRI", "e Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", ": 0: (while reading column user_id): (attempt to read data part all_4041632_4292128_32_22488012 (sta", "a5f0-d958ee1f414b:1553, kind: Regular, unboun", " size: 4194304, downloader id: None, current write offset: 1568669696, caller id: cfb8c2d7-8f3f-425d", ", key: f377abda2b0159efe7e224070af7df1b, state: DOWNLOADED, downloaded size: 4194304, reserve", "segment: [1564475392, 1568669695", "f3f-425d-a5f0-d958ee1f414b:1553, file segment info: File", "_until_position: 1566740771, internal buffer end: 2235773, read_type: CACHED, last caller: cfb8c2d7-", "oprzjyyctxeyz, hash key: f377abda2b0159efe7e224070af7df1b, file_offset_of_buffer_end: 1566711165, rea", "/output error: Cache info: Buffer path: ch-s3-48a/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/dyz/alqyoxaewrewemz", "70af7df1b/1564475392: , errno: 5, strerror: Inpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f37/f377abda2b0159efe7e224"]

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

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

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

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

    # 2
    55

    # 3
    67

    # 4
    ["ted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANN", "error happened, or data is corru", " to read data part all_4041632_4292128_32_22488012 (state Active) failed with error. It can mean that some retryable", " id: c1c824e0-5b3a-4a20-9cad-0010e22d384c:2094, kind: Regular, unbound: 0: (while reading column user_id): (attemp", " size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 1568669696, calle", "le segment: [1564475392, 1568669695], key: f377abda2b0159efe7e224070af7df1b, state: DOWNLOADED, downloade", "b3a-4a20-9cad-0010e22d384c:2094, file segment info: F", "_until_position: 1566740771, internal buffer end: 2235773, read_type: CACHED, last caller: c1c824e0-", "oprzjyyctxeyz, hash key: f377abda2b0159efe7e224070af7df1b, file_offset_of_buffer_end: 1566711165, rea", "/output error: Cache info: Buffer path: ch-s3-48a/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/dyz/alqyoxaewrewemz", "70af7df1b/1564475392: , errno: 5, strerror: Inpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f37/f377abda2b0159efe7e224"]

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

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

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

    # 1
    "hread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    [" data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: T", " all_4041632_4292128_32_22488012 (state Active) failed with error. It can mean that some retryable error happened, o", " (while reading column user_id): (attempt to read data par", "a-4a31-9a6d-46c33b9dfd57:1564, kind: Regular, unbound: 0", "ize: 4194304, reserved size: 4194304, downloader id: None, current write offset: 1568669696, caller id: cbb63485-13", ": File segment: [1564475392, 1568669695], key: f377abda2b0159efe7e224070af7df1b, state: DOWNLOADED, downloaded ", "38a-4a31-9a6d-46c33b9dfd57:1564, file segment inf", "_until_position: 1566740771, internal buffer end: 2235773, read_type: CACHED, last caller: cbb63485-", "oprzjyyctxeyz, hash key: f377abda2b0159efe7e224070af7df1b, file_offset_of_buffer_end: 1566711165, rea", "/output error: Cache info: Buffer path: ch-s3-48a/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/dyz/alqyoxaewrewemz", "70af7df1b/1564475392: , errno: 5, strerror: Inpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f37/f377abda2b0159efe7e224"]

    (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