19830346 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 09:36.654
Run Time 00:01.601
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "212378",
  "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" => 1772758362324944,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkT1OAzEUhB1FoiC7UQQUiCYn4EyWfyaJhde2/Lz7oEI0NNyCE1BwECrOg/eHCBpL82ne84xdhBC3fIEBoZAW1x/3VeQcM6kXbtnZI4r0UVlYLVavd7w5+Mgk6RQ5aCFW39wco/IkO0cEqwS3s85Q5jSBbUgkLUpWpoyLBTcjCegr8qNuR51y7GLBZLhM6gg5OHANtX7+5IZMBsKMquGqi9p5SDwmZIdgMI+5cM62/nrj3biY+jzgacbVdPOHZVCKgabhHTrlanBVCrpUpuibhVF9nrHJInXs641T2YUc6vkPxIQwt1+A8c48zBatQqg9z4m2KiXTg+TvN+z277zVvfMW+QxFs/4B3wWdWw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a21-759f-9f2b-cbff9075080d"
}

Recorded Output

%{
  events: 1290285,
  errors: 129,
  widget_loaded: 99866,
  flows_shown: 470,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 229300,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 249995,
  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: 1056674,
  builder_events: 3075
}

Errors

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
    "0.1.7375 (official build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.1", " can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "n timestamp): (attempt to read data part all_1140290_1199885_25_112386651 (state Active) failed with error. I", "21c:43713, kind: Regular, unbound: 0: (while reading colu", "2ea05037-f7bd-40de-bee0-0b7d7026", " current write offset: 541065216, caller id:", " reserved size: 4194304, downloader id: None", " state: DOWNLOADED, downloaded size: 4194304", "70912, 541065215], key: 1888c520e2328fe5709590886315b2bd", "6921c:43713, file segment info: File segment: [536", " last caller: 2ea05037-f7bd-40de-bee0-0b7d70", " 537018883, internal buffer end: 122598, read_type: CACHED", "liptuwgiehkuhuq, hash key: 1888c520e2328fe5709590886315b2bd, file_offset_of_buffer_end: 536993510, read_until_position", "rror: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/wox/gyomcxtzzwcwo", "86315b2bd/536870912: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/188/1888c520e2328fe5709590"]

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

    # 2
    54

    # 3
    67

    # 4
    ["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCR", "rror. It can mean that some retryable error happened, or data is corrupted. Please retry the query: W", "hile reading column timestamp): (attempt to read data part all_1140290_1199885_25_112386651 (state Active) failed with ", "te offset: 541065216, caller id: d53bca8c-4b91-4449-8950-4c5d715e944d:42690, kind: Regular, unbound: 0: (", "te: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current wr", "12, 541065215], key: 1888c520e2328fe5709590886315b2bd, st", "e944d:42690, file segment info: File segment: [536870", " last caller: d53bca8c-4b91-4449-8950-4c5d71", " 537018883, internal buffer end: 122598, read_type: CACHED", "liptuwgiehkuhuq, hash key: 1888c520e2328fe5709590886315b2bd, file_offset_of_buffer_end: 536993510, read_until_position", "rror: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/wox/gyomcxtzzwcwo", "86315b2bd/536870912: , errno: 5, strerror: Input/output ", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/188/1888c520e2328fe5709590"]

    (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