19825767 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 02:21.762
Run Time 00:00.861
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "200578",
  "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" => 1772761211856064,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7998-7f50-8b29-f7c59e6706b6"
}

Recorded Output

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

Errors

Attempt 2—10h 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
    55

    # 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 ", ", unbound: 0: (while reading column _block_offset): (attempt to read data part all_23863211_24202138_37_24192759 (", "urrent write offset: 1161822208, caller id: c6d04ad4-4f9a-430a-965d-eef7f0e28b6e:2078, kind: Regula", "9199a65342, state: DOWNLOADED, downloaded size: 8388608, reserved size: 8388608, downloader id: None, ", "53433600, 1161822207], key: f598866bd293bbee5e2a8", "e28b6e:2078, file segment info: File segment: [1", "il_position: 1155899715, internal buffer end: 2433725, read_type: CACHED, last caller: c6d04ad4-4f9a-430a-965d-eef7f", "dvsmjtnkoeryyyfoftd, hash key: f598866bd293bbee5e2a8f9199a65342, file_offset_of_buffer_end: 1155867325, read_un", "rror: Cache info: Buffer path: ch-s3-31e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ibn/sknimmpoj", "199a65342/1153433600: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f59/f598866bd293bbee5e2a8f"]

    (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—10h 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
    55

    # 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 ", ", unbound: 0: (while reading column _block_offset): (attempt to read data part all_23863211_24202138_37_24192759 (", "urrent write offset: 1161822208, caller id: de031796-6705-4cd9-bb15-1a14e1dd02e5:2106, kind: Regula", "65342, state: DOWNLOADED, downloaded size: 8388608, reserved size: 8388608, downloader id: None, ", "3433600, 1161822207], key: f598866bd293bbee5e2a8f9199", "dd02e5:2106, file segment info: File segment: [11", "il_position: 1155899715, internal buffer end: 2433725, read_type: CACHED, last caller: de031796-6705-4cd9-bb15-1a14e", "dvsmjtnkoeryyyfoftd, hash key: f598866bd293bbee5e2a8f9199a65342, file_offset_of_buffer_end: 1155867325, read_un", "rror: Cache info: Buffer path: ch-s3-31e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ibn/sknimmpoj", "199a65342/1153433600: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/f59/f598866bd293bbee5e2a8f"]

    (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