19818542 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 12:58.954
Run Time 00:01.910
Inserted 18h ago
Scheduled 16h ago
Completed 16h ago (00:02)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772756922733878,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkEtOxDAQRM0CFjCJRiMWXIkjsMHqODUZC8e23E4absixsOMQwcZSPfenqrNS6kUesMJnHpR6/y4ipZCY7qQTO07I2gUaMZKSp6sLwppvQTxd5DQFcqxny7x9d00nkLltoPeR9YicyOQ6UsmpEo+lIFd1V3VMYQ4ZW8FjpAl6tZBq522WE5sE+IZKwWUOg3XQ+IxIFt6gtVn/a0zJuU7lJa34OtjzH5bAMXjeOs+YyRbXlDPmmFvOnXG5So2xyyEsZd2WdCfX8v4DIcK36DswzpqPVjKQ9yXk4ainGM0C1sf171+lHxbrRqQdkvoBosqZRw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78ba-75d3-ad28-54f095074ff8"
}

Recorded Output

%{
  events: 24264,
  errors: 1,
  widget_loaded: 0,
  flows_shown: 18,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 22893,
  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: 0,
  appcues_events: 1353,
  builder_events: 0
}

Errors

Attempt 2—16h ago

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

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

    # 1
    "ol, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "ad data part all_27678_33866_9_112386651 (state Active) failed with error. It can mean that some retr", "column timestamp): (attempt to r", "<uninitialized>): (while reading", "mymbyxnqdu (position: 445322552, typename: DB::AsynchronousBoundedReadBuffer, compressed data header:", "nbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugbgcmgivewzs", "afd-4a17-8bf7-56358d6c6f36:2333, kind: Regular, ", "e: 726328, downloader id: 936352b3-0afd-4a17-8bf7-56358d6c6f36:2333, current write offset: 444596224, caller id: 936352b3-", "32d749790bc492d2558586df, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved si", ": 936352b3-0afd-4a17-8bf7-56358d6c6f36:2333, file segment info: File segment: [444596224, 448790527], key: 9ffd78a", "_position: 445354185, internal buffer end: 445644800, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last calle", "86df, file_offset_of_buffer_end: 445322552, read_unti", "key: 9ffd78af32d749790bc492d2558", "fer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugbgcmgivewzsemymbyxnqdu, hash", "e offset: 444596224, caller id: 936352b3-0afd-4a17-8bf7-56358d6c6f36:2333, kind: Regular, unbound: 0: Cache info: Bu", "0afd-4a17-8bf7-56358d6c6f36:2333, current wri", ", reserved size: 726328, downloader id: 936352b3", "790bc492d2558586df, state: DOWNLOADING, downloaded size: ", "d-only file system, current cache state: File segment: [444596224, 448790527], key: 9ffd78af32d74", "ckhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558586df/444596224: , errno: 30, strerror: Re", "system: Cannot open file /mnt/cl", "86df/444596224: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558"]

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

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

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

    # 1
    "ol, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "ad data part all_27678_33866_9_112386651 (state Active) failed with error. It can mean that some retr", "column timestamp): (attempt to r", "<uninitialized>): (while reading", "mymbyxnqdu (position: 445322552, typename: DB::AsynchronousBoundedReadBuffer, compressed data header:", "nbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugbgcmgivewzs", "c8f-405f-8355-568c0b639ea6:2388, kind: Regular, ", "e: 726328, downloader id: 084448e9-0c8f-405f-8355-568c0b639ea6:2388, current write offset: 444596224, caller id: 084448e9-", "32d749790bc492d2558586df, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved si", ": 084448e9-0c8f-405f-8355-568c0b639ea6:2388, file segment info: File segment: [444596224, 448790527], key: 9ffd78a", "_position: 445354185, internal buffer end: 445644800, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last calle", "86df, file_offset_of_buffer_end: 445322552, read_unti", "key: 9ffd78af32d749790bc492d2558", "fer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugbgcmgivewzsemymbyxnqdu, hash", "e offset: 444596224, caller id: 084448e9-0c8f-405f-8355-568c0b639ea6:2388, kind: Regular, unbound: 0: Cache info: Bu", "0c8f-405f-8355-568c0b639ea6:2388, current wri", ", reserved size: 726328, downloader id: 084448e9", "790bc492d2558586df, state: DOWNLOADING, downloaded size: ", "d-only file system, current cache state: File segment: [444596224, 448790527], key: 9ffd78af32d74", "ckhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558586df/444596224: , errno: 30, strerror: Re", "system: Cannot open file /mnt/cl", "86df/444596224: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558"]

    (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