19831498 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 02:58.174
Run Time 00:13.978
Inserted 5h ago
Scheduled 3h ago
Completed 3h ago (00:14)
Cancelled
Discarded

Args

%{
  "account_id" => "215423",
  "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" => 1772758429235725,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkU1OxDAMhTtIINRpqxFCiBOwh7kEew4QuamnE5EmUZzWsOUE7JHYcRlWHAn3ZyrYRHqfnu1nJ2VZdssXOKBLVGdv+x8RMfooIss/uGTTtJiU9dBgAxlvD9YzKTp6dmLZb7loPVhSnSGaHOWsI4I+CnjgygVSDaYIOkljOONiJA57QZZgw+WoQ/SdTyiGc84DtKgGgyw5qs9vLkhHRDcjGXLV+dpYVPgSMBp0GkeaB+OWbKJ2Y1fq44Cva97NO1//wREpeEdSfMk77MBIcEgJu5DmbRdGch6R1SJr38vEadmFHOT9B3xAN4FTjbZGP8+WGpyTPdegFYSgeyR1+oabxyeu6t7YBuMK7+6/fgEct51c",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a3c-752f-8ca7-8e48e1d88ed3"
}

Recorded Output

%{
  events: 8532944,
  errors: 2715,
  widget_loaded: 0,
  flows_shown: 13067,
  goals_missed: 0,
  goals_reached: 50,
  nps_detractors: 2,
  nps_neutrals: 1,
  nps_promoters: 5,
  page_views: 958154,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 400,
  nps_survey_responses: 8,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 1460307,
  builder_events: 2503077
}

Errors

Attempt 3—3h ago

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

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

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

    # 2
    53

    # 3
    67

    # 4
    [" query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FR", "ate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry th", "alized>): (while reading column timestamp): (attempt to read data part all_1126754_1133097_5_112386651 (s", "dmchpxruzt (position: 1600191597, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninit", "ile reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/upj/klvxnximhqehgkxefj", "t write offset: 1600435818, caller id: 7196a99f-d6e3-4744-90b6-43aee8e8bceb:2212, kind: Regular, unbound: 0: W", ", reserved size: 2405994, downloader id: None, curre", "294ad7d9, state: DOWNLOADED, downloaded size: 240599", "8e8bceb:2212, file segment info: File segment: [1598029824, 1600435817], key: 45c5b117041c596273507a2", "ntil_position: 1600223366, internal buffer end: 2161773, read_type: CACHED, last caller: 7196a99f-d6e3-4744-90b6-43ae", "jndmchpxruzt, hash key: 45c5b117041c596273507a24294ad7d9, file_offset_of_buffer_end: 1600191597, read_", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/upj/klvxnximhqehgkxe", "4294ad7d9/1598029824: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/45c/45c5b117041c596273507a"]

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

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

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

    # 1
    "10.1.7375 (official build))\n"

    # 2
    50

    # 3
    67

    # 4
    ["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "state Active) failed with error. It can ", "tialized>): (while reading column timestamp): (attempt to read data part all_1126754_1133097_5_112386651 ", "pxruzt (position: 1600191597, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unin", "ing or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/upj/klvxnximhqehgkxefjndmc", "3b5f31e:2350, kind: Regular, unbound: 0: While rea", "id: 1929411a-179f-4104-b2b8-daec", "write offset: 1600435818, caller", "9, state: DOWNLOADED, downloaded size: 2405994, reserved size: 2405994, downloader id: None, current", "8029824, 1600435817], key: 45c5b117041c596273507a24294ad7", "3b5f31e:2350, file segment info: File segment: [15", "ntil_position: 1600223366, internal buffer end: 2161773, read_type: CACHED, last caller: 1929411a-179f-4104-b2b8-daec", "jndmchpxruzt, hash key: 45c5b117041c596273507a24294ad7d9, file_offset_of_buffer_end: 1600191597, read_", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/upj/klvxnximhqehgkxe", "4294ad7d9/1598029824: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/45c/45c5b117041c596273507a"]

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

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

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

    # 1
    ".10.1.7375 (official build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["g MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25", "n that some retryable error happened, or data is corrupted. Please retry the query: While executi", "7_5_112386651 (state Active) failed with error. It can me", "er: <uninitialized>): (while reading column timestamp): (attempt to read data part all_1126754_11330", "hqehgkxefjndmchpxruzt (position: 1600191597, typename: DB::AsynchronousBoundedReadBuffer, compressed data hea", ": 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/upj/klvxnxi", "9497-79788a2eaa58:2316, kind: Regular, unboun", "d size: 2405994, downloader id: None, current write offset: 1600435818, caller id: 51da6704-33d5-4d43", "d9, state: DOWNLOADED, downloaded size: 2405994, reserv", "4, 1600435817], key: 45c5b117041c596273507a24294ad", "a2eaa58:2316, file segment info: File segment: [15980298", "ntil_position: 1600223366, internal buffer end: 2161773, read_type: CACHED, last caller: 51da6704-33d5-4d43-9497-7978", "jndmchpxruzt, hash key: 45c5b117041c596273507a24294ad7d9, file_offset_of_buffer_end: 1600191597, read_", "utput error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/upj/klvxnximhqehgkxe", "4294ad7d9/1598029824: , errno: 5, strerror: Input/", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/45c/45c5b117041c596273507a"]

    (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