19833746 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 6 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:03.085
Run Time 00:04.635
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:05)
Cancelled
Discarded

Args

%{
  "account_id" => "222303",
  "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" => 1772758582637915,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkEtOxDAQRC2EWEAmGiEWnIMLsOAgVsepyVg4bcvtxHA4DsYOxw4RbCzVc3+qOimlnvMdVnCSQam3ryJi9FFI5VO244SknacRYwEPF+ezaLn6zHSTu8mTEz1bkfp9ajqCzLWCnoPoESmSSW1ktxHGUpCrKzYdop99Qi24DzRBrxZ5s/PymjsxEeCGSsHj7AfroPEREC3YoLVZ/jWm8nmbKktc8Xmwpz8sQoJnqZ1nzGSLa0oJc0gt586kXGWLscvBL2VdTbqTS3n/AR/ALfoOjLPmvZUMxFxCHo56CsEsEH1c//Y798Ni3Yi4Q1I/Bl2Zag",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a69-7305-907d-3f766d438ee8"
}

Recorded Output

%{
  events: 17341,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 2,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 12863,
  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: 1273,
  builder_events: 0
}

Errors

Attempt 5—18h 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) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_OPEN", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "ialized>): (while reading column attributes): (attempt to read data part all_24567827_24590242_14_24589855 (state Ac", "rlwqwxqckjcgrg (position: 1292083161, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", "nbound: 0: While reading or decompressing ch-s3-c70/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdme", "bd-e44c-4cde-8f08-67b0efcaf26d:2364, kind: Regular, ", "er id: f4d4b4bd-e44c-4cde-8f08-67b0efcaf26d:2364, current write offset: 1291845632, caller id: f4d4b", "_NO_CONTINUATION, downloaded size: 0, reserved size: 237529, downloa", " segment: [1291845632, 1296039935], key: 75aad6bb95b3354dcd408787b33172ab, state: PARTIALLY_DOWNLOADE", "ype: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: f4d4b4bd-e44c-4cde-8f08-67b0efcaf26d:2364, file segment info: Fil", "292102869, internal buffer end: 1292894208, read_", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 1292083161, read_until_position: ", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: f4d4b4bd-e44c-4cde-8f08-67b0efcaf26d:2364, kind: Regular, unbound: 0: Cache info: Buffer", "e: 0, reserved size: 237529, downloader id: f4d4b4bd-e44c-4cde-8f08-67b0efcaf26d:2364, current write offset: 1291845632, c", "dcd408787b33172ab, state: DOWNLOADING, downloaded si", "ad-only file system, current cache state: File segment: [1291845632, 1296039935], key: 75aad6bb95b335", "t/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33172ab/1291845632: , errno: 30, strerror: R", "file system: Cannot open file /m", "72ab/1291845632: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

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

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

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

    # 1
    " (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    [" MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375", "r. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executin", "827_24590242_14_24589855 (state Active) failed with err", " header: <uninitialized>): (while reading column attributes): (attempt to read data part all_2456", "meqrlwqwxqckjcgrg (position: 1292083161, typename: DB::AsynchronousBoundedReadBuffer, compressed dat", "und: 0: While reading or decompressing ch-s3-c70/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwac", "9b-0a27-4edf-af9c-af4a51bc44ff:1058, kind: Regular, unb", "er id: 463b579b-0a27-4edf-af9c-af4a51bc44ff:1058, current write offset: 1291845632, caller id: 463b5", "_NO_CONTINUATION, downloaded size: 0, reserved size: 237529, downloa", " segment: [1291845632, 1296039935], key: 75aad6bb95b3354dcd408787b33172ab, state: PARTIALLY_DOWNLOADE", "ype: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 463b579b-0a27-4edf-af9c-af4a51bc44ff:1058, file segment info: Fil", "292102869, internal buffer end: 1292894208, read_", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 1292083161, read_until_position: ", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: 463b579b-0a27-4edf-af9c-af4a51bc44ff:1058, kind: Regular, unbound: 0: Cache info: Buffer", "e: 0, reserved size: 237529, downloader id: 463b579b-0a27-4edf-af9c-af4a51bc44ff:1058, current write offset: 1291845632, c", "dcd408787b33172ab, state: DOWNLOADING, downloaded si", "ad-only file system, current cache state: File segment: [1291845632, 1296039935], key: 75aad6bb95b335", "t/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33172ab/1291845632: , errno: 30, strerror: R", "file system: Cannot open file /m", "72ab/1291845632: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

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

    # 2
    44

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_OPEN", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "ialized>): (while reading column attributes): (attempt to read data part all_24567827_24590242_14_24589855 (state Ac", "rlwqwxqckjcgrg (position: 1292083161, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", "nbound: 0: While reading or decompressing ch-s3-c70/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdme", "0e-1fab-4e4d-a491-2f8604aa902f:2128, kind: Regular, ", "er id: 9a84d40e-1fab-4e4d-a491-2f8604aa902f:2128, current write offset: 1291845632, caller id: 9a84d", "_NO_CONTINUATION, downloaded size: 0, reserved size: 237529, downloa", " segment: [1291845632, 1296039935], key: 75aad6bb95b3354dcd408787b33172ab, state: PARTIALLY_DOWNLOADE", "ype: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 9a84d40e-1fab-4e4d-a491-2f8604aa902f:2128, file segment info: Fil", "292102869, internal buffer end: 1292894208, read_", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 1292083161, read_until_position: ", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: 9a84d40e-1fab-4e4d-a491-2f8604aa902f:2128, kind: Regular, unbound: 0: Cache info: Buffer", "e: 0, reserved size: 237529, downloader id: 9a84d40e-1fab-4e4d-a491-2f8604aa902f:2128, current write offset: 1291845632, c", "dcd408787b33172ab, state: DOWNLOADING, downloaded si", "ad-only file system, current cache state: File segment: [1291845632, 1296039935], key: 75aad6bb95b335", "t/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33172ab/1291845632: , errno: 30, strerror: R", "file system: Cannot open file /m", "72ab/1291845632: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

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

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

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

    # 1
    "ead). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["pool: PrefetchedReadPool, algorithm: Thr", "tryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect", " part all_24567827_24590242_14_24589855 (state Active) failed with error. It can mean that some r", "fer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read dat", "tree/cjk/hmvxgsafwacdmeqrlwqwxqckjcgrg (position: 1292083161, typename: DB::AsynchronousBoundedReadBu", "r, unbound: 0: While reading or decompressing ch-s3-c70/aa8129e2-f47e-4b75-bbcb-8441591d3836/merg", "d3-14af-49cf-a100-abd96f5cd06e:2353, kind: Regul", "er id: ae5010d3-14af-49cf-a100-abd96f5cd06e:2353, current write offset: 1291845632, caller id: ae501", "_NO_CONTINUATION, downloaded size: 0, reserved size: 237529, downloa", " segment: [1291845632, 1296039935], key: 75aad6bb95b3354dcd408787b33172ab, state: PARTIALLY_DOWNLOADE", "ype: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: ae5010d3-14af-49cf-a100-abd96f5cd06e:2353, file segment info: Fil", "292102869, internal buffer end: 1292894208, read_", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 1292083161, read_until_position: ", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: ae5010d3-14af-49cf-a100-abd96f5cd06e:2353, kind: Regular, unbound: 0: Cache info: Buffer", "e: 0, reserved size: 237529, downloader id: ae5010d3-14af-49cf-a100-abd96f5cd06e:2353, current write offset: 1291845632, c", "dcd408787b33172ab, state: DOWNLOADING, downloaded si", "ad-only file system, current cache state: File segment: [1291845632, 1296039935], key: 75aad6bb95b335", "t/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33172ab/1291845632: , errno: 30, strerror: R", "file system: Cannot open file /m", "72ab/1291845632: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

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

    # 2
    44

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_OPEN", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "ialized>): (while reading column attributes): (attempt to read data part all_24567827_24590242_14_24589855 (state Ac", "acdmeqrlwqwxqckjcgrg (position: 1292083161, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", "bound: 0: While reading or decompressing ch-s3-c70/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmvxgsaf", "d0-8898-4576-9786-b17d62ea339c:1481, kind: Regular, u", "er id: 9359d5d0-8898-4576-9786-b17d62ea339c:1481, current write offset: 1291845632, caller id: 9359d", "_NO_CONTINUATION, downloaded size: 0, reserved size: 237529, downloa", " segment: [1291845632, 1296039935], key: 75aad6bb95b3354dcd408787b33172ab, state: PARTIALLY_DOWNLOADE", "ype: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 9359d5d0-8898-4576-9786-b17d62ea339c:1481, file segment info: Fil", "292102869, internal buffer end: 1292894208, read_", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 1292083161, read_until_position: ", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: 9359d5d0-8898-4576-9786-b17d62ea339c:1481, kind: Regular, unbound: 0: Cache info: Buffer", "e: 0, reserved size: 237529, downloader id: 9359d5d0-8898-4576-9786-b17d62ea339c:1481, current write offset: 1291845632, c", "dcd408787b33172ab, state: DOWNLOADING, downloaded si", "ad-only file system, current cache state: File segment: [1291845632, 1296039935], key: 75aad6bb95b335", "t/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33172ab/1291845632: , errno: 30, strerror: R", "file system: Cannot open file /m", "72ab/1291845632: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

    (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