19817230 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 07:14.902
Run Time 00:06.201
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:07)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772756593243509,
  "recorded" => true,
  "return" => "g1AAAAGoeJxVkUFOxDAMRcMGJOhUI8SCcyA0K3YcJErT305EmkRx2sBFECs23IITcCzcpDOCTaT/9G1/O0kIcZ8vscAl6kR++mERo4+kRN5l049I0nrVo2dwM1ifSdLRZ9eJi+EjN6NXluRkiIpjV3WE0kcGh9y6QLJHikqn2rVZicPMyJYpqw7RTz6hGK6DGiEXg8yJnq++c0M6Aq4iNtxOvjMWEq8B0cBp1DLjtmys9mtXmuOCtzO7+8MiKHhHpXKPSRlOrVLCFFJddWPEh2HZbrLzM48rm25k4Pcf8AGugFONtka/VEunnOMlzxf8es+tCkHPIHn6g8eHz9x2s7E94gaV+AUey5zu",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7893-7637-b01d-63a35f6282f0"
}

Recorded Output

%{
  events: 7814344,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 91800,
  goals_missed: 0,
  goals_reached: 54,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 4392890,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 107414,
  appcues_events: 3420830,
  builder_events: 0
}

Errors

Attempt 3—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
    "sion 25.10.1.7375 (official build))\n"

    # 2
    47

    # 3
    67

    # 4
    ["y the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (ver", "iled with error. It can mean that some retryable error happened, or data is corrupted. Please ret", "ile reading column timestamp): (attempt to read data part all_190670_196177_9_112386651 (state Active) f", "gbrxmu (position: 1227974239, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (w", "nd: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/iep/nintwrixyecwpvextxgfjl", "-20c6-43f9-bc93-a103e291055d:2360, kind: Regular, unbo", "2360, current write offset: 1224736768, caller id: dc52fea", "576, downloader id: dc52fea6-20c6-43f9-bc93-a103e291055d", "d7b28605c80972d2, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 104", "103e291055d:2360, file segment info: File segment: [1224736768, 1228931071], key: e8487f7a033137c", "fer end: 1225785344, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: dc52fea6-20c6-43f9-bc93-", "7b28605c80972d2, file_offset_of_buffer_end: 1227974239, read_until_position: 1228006638, internal bu", "2-f47e-4b75-bbcb-8441591d3836/mergetree/iep/nintwrixyecwpvextxgfjlwgbrxmu, hash key: e8487f7a033137ce", "a6-20c6-43f9-bc93-a103e291055d:2360, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-aa8129", "er id: dc52fea6-20c6-43f9-bc93-a103e291055d:2360, current write offset: 1224736768, caller id: dc52f", "033137ced7b28605c80972d2, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloa", "no: 30, strerror: Read-only file system, current cache state: File segment: [1224736768, 1228931071], key: e8487f7", "tem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e84/e8487f7a033137ced7b28605c80972d2/1224736768: , er", "72d2/1224736768: , errno: 30, strerror: Read-only file sy", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e84/e8487f7a033137ced7b28605c80"]

    (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—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
    "ial build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offic", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "state Active) failed with error. It can ", "nitialized>): (while reading column timestamp): (attempt to read data part all_190670_196177_9_112386651 ", "vextxgfjlwgbrxmu (position: 1227974239, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <un", "bound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/iep/nintwrixyecw", "ed-4265-8ed0-28c887be8827:2127, kind: Regular, u", "oader id: dea0a5dd-90ed-4265-8ed0-28c887be8827:2127, current write offset: 1224736768, caller id: dea0a5dd-9", "ED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, down", "487f7a033137ced7b28605c80972d2, state: PARTIALLY_DOWNLOA", "[1224736768, 1228931071], key: e", "8c887be8827:2127, file segment info: File segment:", "caller: dea0a5dd-90ed-4265-8ed0-", "l_position: 1228006638, internal buffer end: 1225785344, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last", "fjlwgbrxmu, hash key: e8487f7a033137ced7b28605c80972d2, file_offset_of_buffer_end: 1227974239, read_unt", "bound: 0: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/iep/nintwrixyecwpvextx", "dd-90ed-4265-8ed0-28c887be8827:2127, kind: Regular, u", "er id: dea0a5dd-90ed-4265-8ed0-28c887be8827:2127, current write offset: 1224736768, caller id: dea0a", "033137ced7b28605c80972d2, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloa", "no: 30, strerror: Read-only file system, current cache state: File segment: [1224736768, 1228931071], key: e8487f7", "tem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e84/e8487f7a033137ced7b28605c80972d2/1224736768: , er", "72d2/1224736768: , errno: 30, strerror: Read-only file sy", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e84/e8487f7a033137ced7b28605c80"]

    (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—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
    "dReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    45

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "pt to read data part all_190670_196177_9_112386651 (state Active) failed with error. It can mean that some re", ": (while reading column timestamp): (atte", "u (position: 1227974239, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>", "41591d3836/mergetree/iep/nintwrixyecwpvextxgfjlwgbrx", "0c:2309, kind: Regular, unbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8", "736768, caller id: 5c2b775d-42cd-44b2-ac30-adf4512ed", "-ac30-adf4512edb0c:2309, current write offset: 122", "N, downloaded size: 0, reserved size: 1048576, downloader id: 5c2b775d-42cd-44b", "972d2, state: PARTIALLY_DOWNLOADED_NO_CONTINUATI", "b0c:2309, file segment info: File segment: [1224736768, 1228931071], key: e8487f7a033137ced7b28605c8", "5c2b775d-42cd-44b2-ac30-adf4512e", "on: 1228006638, internal buffer end: 1225785344, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "wgbrxmu, hash key: e8487f7a033137ced7b28605c80972d2, file_offset_of_buffer_end: 1227974239, read_until_posit", "und: 0: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/iep/nintwrixyecwpvextxgfj", "5d-42cd-44b2-ac30-adf4512edb0c:2309, kind: Regular, unb", "er id: 5c2b775d-42cd-44b2-ac30-adf4512edb0c:2309, current write offset: 1224736768, caller id: 5c2b7", "033137ced7b28605c80972d2, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloa", "no: 30, strerror: Read-only file system, current cache state: File segment: [1224736768, 1228931071], key: e8487f7", "tem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e84/e8487f7a033137ced7b28605c80972d2/1224736768: , er", "72d2/1224736768: , errno: 30, strerror: Read-only file sy", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e84/e8487f7a033137ced7b28605c80"]

    (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