19823914 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 7 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.141
Run Time 00:33.970
Inserted 10h ago
Scheduled 8h ago
Completed 8h ago (00:34)
Cancelled
Discarded

Args

%{
  "account_id" => "134956",
  "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" => 1772757848637598,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkUFOwzAQRb2BRUlDhVhwCRYcojvuYNnOb2rh2JbHiUFwCi7ASUAciyUTJ61gY+k//Zn5M85CiLtyiQk+kxbfj4pFSiGREmVbbNcjSxdUh47B1cGFQpKOoXgtxOdbafqgHMnBElXHdtEJyhzRsWfzWlofSXbISZm8NG5m4jEycnXQrGMKQ8iohk1UPeRkUTjUx8NXacgkwC+IDTdD0NZB4jkiWXiDpcz6NR6r3dyVxjThZWUX5fYPS6AYPNXKHQZlObjKGUPMy7YrI74Ny3aVOow8ri67kgO//0CI8BWcaoyz5mmxaOU9L3lO2aoYzQiSpz9oft5Lq0frOqQzvL7f/wLBN53S",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7950-714a-a029-0560428bfb41"
}

Recorded Output

%{
  events: 12602465,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 48508,
  goals_missed: 0,
  goals_reached: 2683,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 10432958,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 5,
  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: 850066,
  builder_events: 994629
}

Errors

Attempt 6—8h ago

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

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

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

    # 2
    55

    # 3
    67

    # 4
    ["or happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPoo", "ata part all_0_3337_8_112386651 (state Active) failed with error. It can mean that some retryable er", "2-4bd50eb6453a:2081, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read ", "e: 4194304, reserved size: 4194304, downloader id: None, current write offset: 805306368, caller id: 5bd3409a-54e4-414f-89", "state: DOWNLOADED, downloaded si", ", 805306367], key: 764853d7fdea556dbff305a56d57d4cb,", "53a:2081, file segment info: File segment: [80111206", "osition: 801212587, internal buffer end: 71265, read_type: CACHED, last caller: 5bd3409a-54e4-414f-89c2-4bd50eb6", "moiaqdlaglkiiixxighxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 801183329, read_until_", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gp", "56d57d4cb/801112064: , 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/764/764853d7fdea556dbff305"]

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

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

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

    # 1
    "gorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["ed, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, al", "ead data part all_0_3337_8_112386651 (state Active) failed with error. It can mean that some retryable error happe", ": (while reading column timestamp): (attempt to ", "3ff-bd8a-d84623615147:1164, kind: Regular, unbound: ", "served size: 4194304, downloader id: None, current write offset: 805306368, caller id: e58b3bc1-5ac2-", "7d4cb, state: DOWNLOADED, downloaded size: 4194304, r", " 805306367], key: 764853d7fdea556dbff305a56d", "147:1164, file segment info: File segment: [801112064", "osition: 801212587, internal buffer end: 71265, read_type: CACHED, last caller: e58b3bc1-5ac2-43ff-bd8a-d8462361", "moiaqdlaglkiiixxighxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 801183329, read_until_", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gp", "56d57d4cb/801112064: , 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/764/764853d7fdea556dbff305"]

    (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—8h 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
    56

    # 3
    67

    # 4
    ["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCR", "th error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: W", "ile reading column timestamp): (attempt to read data part all_0_3337_8_112386651 (state Active) failed w", "t write offset: 805306368, caller id: 6a992196-a6e8-429e-81ee-5a96e685d266:1178, kind: Regular, unbound: 0: (w", "4cb, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, curre", "266:1178, file segment info: File segment: [801112064, 805306367], key: 764853d7fdea556dbff305a56d57", "osition: 801212587, internal buffer end: 71265, read_type: CACHED, last caller: 6a992196-a6e8-429e-81ee-5a96e685", "moiaqdlaglkiiixxighxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 801183329, read_until_", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gp", "56d57d4cb/801112064: , 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/764/764853d7fdea556dbff305"]

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

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

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

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

    # 2
    54

    # 3
    67

    # 4
    [" algorithm: Thread). (CANNOT_READ_FROM_FILE_", "ta is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool", "a part all_0_3337_8_112386651 (state Active) failed with error. It can mean that some retryable error happened, or d", "d-3b56ade04427:1564, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read da", "e: 4194304, reserved size: 4194304, downloader id: None, current write offset: 805306368, caller id: 656174e4-e1ca-4dc6-bc", "state: DOWNLOADED, downloaded si", ", 805306367], key: 764853d7fdea556dbff305a56d57d4cb,", "427:1564, file segment info: File segment: [80111206", "osition: 801212587, internal buffer end: 71265, read_type: CACHED, last caller: 656174e4-e1ca-4dc6-bced-3b56ade0", "moiaqdlaglkiiixxighxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 801183329, read_until_", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gp", "56d57d4cb/801112064: , 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/764/764853d7fdea556dbff305"]

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

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

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

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

    # 2
    56

    # 3
    67

    # 4
    ["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIP", " error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "le reading column timestamp): (attempt to read data part all_0_3337_8_112386651 (state Active) failed wit", "rent write offset: 805306368, caller id: a7593df6-31e0-4375-84b6-bc8b9b7aa2d7:2091, kind: Regular, unbound: 0: (wh", "57d4cb, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, cu", "2d7:2091, file segment info: File segment: [801112064, 805306367], key: 764853d7fdea556dbff305a56", "osition: 801212587, internal buffer end: 71265, read_type: CACHED, last caller: a7593df6-31e0-4375-84b6-bc8b9b7a", "moiaqdlaglkiiixxighxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 801183329, read_until_", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gp", "56d57d4cb/801112064: , 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/764/764853d7fdea556dbff305"]

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

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

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

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

    # 2
    53

    # 3
    67

    # 4
    ["ted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANN", "error happened, or data is corru", "ad data part all_0_3337_8_112386651 (state Active) failed with error. It can mean that some retryable", "column timestamp): (attempt to r", "3d5f:2100, kind: Regular, unbound: 0: (while reading", "6368, caller id: fa06e12f-ebf6-46d6-989c-c6d0720", "tate: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 8053", "4, 805306367], key: 764853d7fdea556dbff305a56d57d4cb, ", "d5f:2100, file segment info: File segment: [8011120", "osition: 801212587, internal buffer end: 71265, read_type: CACHED, last caller: fa06e12f-ebf6-46d6-989c-c6d07204", "moiaqdlaglkiiixxighxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 801183329, read_until_", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gp", "56d57d4cb/801112064: , 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/764/764853d7fdea556dbff305"]

    (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