19834438 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 08:40.282
Run Time 00:00.904
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "224131",
  "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" => 1772758631380884,
  "recorded" => true,
  "return" => "g1AAAAGoeJxVkUFOwzAURAMSLEoSqgqh3oItZ2DHCSzHmaYWjm35O/lwD07FqfhOolI2lub5ezxj56qqjnyPGT5TV1XfPyJSCol0xQ3bfkBWLugevYCHkwtMis6Bvch6CNqRGi3Rst2sOkGb8wJaH0n1yEmbXCxvuS7EYxLkSN9xU3RMYQwZMvDIu6gHqNmCS5z4wjWZBPgViedhDJ11UPiMSBbeoNBdtP4v2L640pRmfK1MrG5e+ekKJ1AMnuTwM+8xaivBdc4YY16rbozkYUqTTXZhkhuXshs5yfoPhAi/tt+AcdZ8rCOd9l56XoK2OkYzgdTlAw5v3HaTdT3SFXz/BdcUmh0",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a76-7215-87d1-3a08e70658eb"
}

Recorded Output

%{
  events: 38090,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 0,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 2,
  nps_neutrals: 5,
  nps_promoters: 15,
  page_views: 28719,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 312,
  nps_survey_responses: 22,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 4682,
  builder_events: 4689
}

Errors

Attempt 2—10h ago

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

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

    # 1
    "d))\n"

    # 2
    42

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", "d, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", "that some retryable error happen", "mpt to read data part all_13264520_13710807_29_22488012 (state Active) failed with error. It can mean", " <uninitialized>): (while reading column attributes): (att", " DB::AsynchronousBoundedReadBuffer, compressed data header", "(position: 21807928233, typename", "eading or decompressing ch-s3-48e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsf/fvutfviorlbbzyspsjgfgeoahxrjp", "e26ab01a8:2309, kind: Regular, unbound: 0: While ", "-477b-9b97-f91e26ab01a8:2309, current write offset: 21806186496, caller id: 76f75fa5-b3af-477b-9b97-f9", "tate: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 76f75fa5-b3a", "380799], key: 9b55d86836d883bd173078632a792db2, ", "File segment: [21806186496, 2181", "-b3af-477b-9b97-f91e26ab01a8:2309, file segment info:", "ion: 21808005560, internal buffer end: 21807235072, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 76f75fa", "sh key: 9b55d86836d883bd173078632a792db2, file_offset_of_buffer_end: 21807928233, read_until_posi", "th: ch-s3-48e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsf/fvutfviorlbbzyspsjgfgeoahxrjp, h", ": 21806186496, caller id: 76f75fa5-b3af-477b-9b97-f91e26ab01a8:2309, kind: Regular, unbound: 0: Cache info: Buffer p", "af-477b-9b97-f91e26ab01a8:2309, current write offse", "LOADING, downloaded size: 0, reserved size: 1048576, downloader id: 76f75fa5-b", "em, current cache state: File segment: [21806186496, 21810380799], key: 9b55d86836d883bd173078632a792db2, state: DOW", "30, strerror: Read-only file sys", "stem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9b5/9b55d86836d883bd173078632a792db2/21806186496: , errno:", "2db2/21806186496: , errno: 30, strerror: Read-only file s", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9b5/9b55d86836d883bd173078632a7"]

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

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

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

    # 1
    "d))\n"

    # 2
    40

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "710807_29_22488012 (state Active) failed with error", "to read data part all_13264520_1", "uninitialized>): (while reading column attributes): (attempt", "oahxrjp (position: 21807928233, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: ", "5-bbcb-8441591d3836/mergetree/nsf/fvutfviorlbbzyspsjgfg", " While reading or decompressing ch-s3-48e/aa8129e2-f47e-4b", " offset: 21806186496, caller id: 80a0c462-b734-4785-9d21-e2f33851f786:2417, kind: Regular, unbound: 0", "loaded size: 0, reserved size: 1048576, downloader id: 80a0c462-b734-4785-9d21-e2f33851f786:2417, current writ", "92db2, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, dow", "786:2417, file segment info: File segment: [21806186496, 21810380799], key: 9b55d86836d883bd173078632a", "80a0c462-b734-4785-9d21-e2f33851", "osition: 21808005560, internal buffer end: 21807235072, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "2db2, file_offset_of_buffer_end: 21807928233, read_until_", "key: 9b55d86836d883bd173078632a7", ": Buffer path: ch-s3-48e/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsf/fvutfviorlbbzyspsjgfgeoahxrjp, hash", "3851f786:2417, kind: Regular, unbound: 0: Cache inf", "806186496, caller id: 80a0c462-b734-4785-9d21-e2f", "34-4785-9d21-e2f33851f786:2417, current write offset: 2", "LOADING, downloaded size: 0, reserved size: 1048576, downloader id: 80a0c462-b", "em, current cache state: File segment: [21806186496, 21810380799], key: 9b55d86836d883bd173078632a792db2, state: DOW", "30, strerror: Read-only file sys", "stem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9b5/9b55d86836d883bd173078632a792db2/21806186496: , errno:", "2db2/21806186496: , errno: 30, strerror: Read-only file s", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9b5/9b55d86836d883bd173078632a7"]

    (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