19826070 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 6 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:17.297
Run Time 00:02.170
Inserted 21h ago
Scheduled 19h ago
Completed 19h ago (00:03)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772758099349776,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkc1OwzAQhE1BHGgSVQihvhHiGXqwHGfaWjhey+vEcOHK2/CCXNj8UOBiaT7NrmfsrJTal1uMCJlbdX14F5ESJRHqikpdXHdC1p5Mh848lu3RU2HNZypBLJunUp3IeNa9YxaHKvWiE4w9z6AJkXWHnIzNslhINZGAQZCfdD3pmKinjNlwF80JenQokmPz9VwqtgkICxLDfU+t89B4jUgOwWIZc2HNJmo3beUhjXi7sIc/LIEjBZ4nd+iNk9QmZ/Qxz7m3K2N5m6nGKlsa5Lq56UqOcv4DFBGW6iuw3tmXxdKaEKTkJVFjYrQDWP/8gTp8lqYdnO+QfuHNxzcBRZuC",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-799d-77d1-8f26-da934ac3f327"
}

Recorded Output

%{
  events: 220030,
  errors: 367,
  widget_loaded: 22,
  flows_shown: 583,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 195401,
  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: 23470,
  builder_events: 1159
}

Errors

Attempt 5—19h ago

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "1 (state Active) failed with error. It can mean that ", "d: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_25267_27677_8_1123866", "r id: None, current write offset: 629145600, caller id: a64b0ab6-b364-4029-b204-02d1d33c0aba:2117, ki", "780a6121aec24e129a, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, download", "204-02d1d33c0aba:2117, file segment info: File segment: [624951296, 629145599], key: 9bd6ef002f298", "last caller: a64b0ab6-b364-4029-", "end: 2176395, read_type: CACHED,", "127691, read_until_position: 627158547, internal buffer", "vtsldytrzrglwmpoyajlnhxjuc, hash key: 9bd6ef002f298a780a6121aec24e129a, file_offset_of_buffer_end: 62", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/yyo/sv", "ec24e129a/624951296: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/9bd/9bd6ef002f298a780a6121"]

    (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 4—19h 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_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "ad data part all_25267_27677_8_112386651 (state Active) failed with error. It can mean that some retr", "column timestamp): (attempt to r", "e offset: 629145600, caller id: 980b10a7-9a4c-4310-a4af-a86bd92d89f4:2095, kind: Regular, unbound: 0: (while reading", "downloader id: None, current wri", "4194304, reserved size: 4194304,", "a780a6121aec24e129a, state: DOWNLOADED, downloaded size:", "4af-a86bd92d89f4:2095, file segment info: File segment: [624951296, 629145599], key: 9bd6ef002f29", "last caller: 980b10a7-9a4c-4310-", "end: 2176395, read_type: CACHED,", "127691, read_until_position: 627158547, internal buffer", "vtsldytrzrglwmpoyajlnhxjuc, hash key: 9bd6ef002f298a780a6121aec24e129a, file_offset_of_buffer_end: 62", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/yyo/sv", "ec24e129a/624951296: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/9bd/9bd6ef002f298a780a6121"]

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

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

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

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

    # 2
    51

    # 3
    67

    # 4
    ["e retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_", "t can mean that some retryable error happened, or data is corrupted. Plea", "7_27677_8_112386651 (state Active) failed with error. ", ":1713, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_252", ", caller id: 44b23c2b-c7aa-4b2c-8c6b-c9600dc41ce", "4304, downloader id: None, current write offset: 62914560", "size: 4194304, reserved size: 41", "624951296, 629145599], key: 9bd6ef002f298a780a6121aec24e129a, state: DOWNLOADED, downloaded", "c6b-c9600dc41cef:1713, file segment info: File segment: ", "last caller: 44b23c2b-c7aa-4b2c-", "end: 2176395, read_type: CACHED,", "127691, read_until_position: 627158547, internal buffer", "vtsldytrzrglwmpoyajlnhxjuc, hash key: 9bd6ef002f298a780a6121aec24e129a, file_offset_of_buffer_end: 62", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/yyo/sv", "ec24e129a/624951296: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/9bd/9bd6ef002f298a780a6121"]

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

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "1 (state Active) failed with error. It can mean that ", "d: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_25267_27677_8_1123866", "r id: None, current write offset: 629145600, caller id: c02d2541-049d-48c2-bf08-80849c281e34:2103, ki", "780a6121aec24e129a, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, download", "f08-80849c281e34:2103, file segment info: File segment: [624951296, 629145599], key: 9bd6ef002f298", "last caller: c02d2541-049d-48c2-", "end: 2176395, read_type: CACHED,", "127691, read_until_position: 627158547, internal buffer", "vtsldytrzrglwmpoyajlnhxjuc, hash key: 9bd6ef002f298a780a6121aec24e129a, file_offset_of_buffer_end: 62", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/yyo/sv", "ec24e129a/624951296: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/9bd/9bd6ef002f298a780a6121"]

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

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "1 (state Active) failed with error. It can mean that ", "d: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_25267_27677_8_1123866", "r id: None, current write offset: 629145600, caller id: a8101c66-0031-4840-bf44-f5d279d5ba8b:2051, ki", "780a6121aec24e129a, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, download", "f44-f5d279d5ba8b:2051, file segment info: File segment: [624951296, 629145599], key: 9bd6ef002f298", "last caller: a8101c66-0031-4840-", "end: 2176395, read_type: CACHED,", "127691, read_until_position: 627158547, internal buffer", "vtsldytrzrglwmpoyajlnhxjuc, hash key: 9bd6ef002f298a780a6121aec24e129a, file_offset_of_buffer_end: 62", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/yyo/sv", "ec24e129a/624951296: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/9bd/9bd6ef002f298a780a6121"]

    (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