19832954 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 09:03.442
Run Time 00:00.724
Inserted 1d ago
Scheduled 23h ago
Completed 23h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "220642",
  "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" => 1772758523617776,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkbFOAzEMhiOBKtS7nirEwMrIhsQzwMQjIEW+xG2j5pIozp1h6sAAT8DMazHyJvjaawVLpP/Tb/u3U5RS1zzDAUOhVlXbNxE5x0zwxQt2do1F+wgWbavUxx1XKx+ZNG0iByEPz1yvI3jSnSNCC4oXB50RzEbANzchkbZYMpgyNr7neiQBe0Ge4IIXo045drGgGJ54nmCNenDIEmp2s+OaTEYMByRDLrvYOo8aXxJmh8HgSOfJhSkb3PJy7Ep9HvD1lHf2yFd/cEZKMZAUv/MSO3ASHErBLpX9LtXESM4jsplkG3uZuF92Iit5/4GYMOzBscZ4Z7YHSwshyJ5TULFASqZH0sdvOPs556btnbeYT1DtPn8Bwaae7w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a58-7e86-b4b2-5fe2c184f373"
}

Recorded Output

%{
  events: 748419,
  errors: 160,
  widget_loaded: 34864,
  flows_shown: 17756,
  goals_missed: 0,
  goals_reached: 217,
  nps_detractors: 51,
  nps_neutrals: 8,
  nps_promoters: 76,
  page_views: 401791,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 41,
  nps_survey_shown: 1606,
  nps_survey_responses: 135,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 254212,
  builder_events: 32662
}

Errors

Attempt 2—23h 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
    52

    # 3
    67

    # 4
    [" PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM", "me retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool", "2759 (state Active) failed with error. It can mean that s", "lized>): (while reading column identity): (attempt to read data part all_23863211_24202138_37_241", "compressed data header: <uniniti", "k/ldgdklqxrdxrgpgjcwjgetznelfgb (position: 50379821056, typename: DB::AsynchronousBoundedReadBuffer,", "ound: 0: While reading or decompressing ch-s3-4c4/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/j", "e, current write offset: 50386173952, caller id: 085a45a2-796d-46ef-9357-495bcef0eb4b:42922, kind: Regular, un", "1821e71bc03a5, state: DOWNLOADED, downloaded size: 8388608, reserved size: 8388608, downloader id: No", "ef0eb4b:42922, file segment info: File segment: [50377785344, 50386173951], key: 4ccb4bc2043a81c7b7", "il_position: 50400456210, internal buffer end: 2035712, read_type: CACHED, last caller: 085a45a2-796d-46ef-9357-495b", "cwjgetznelfgb, hash key: 4ccb4bc2043a81c7b7e1821e71bc03a5, file_offset_of_buffer_end: 50379821056, read_un", "/output error: Cache info: Buffer path: ch-s3-4c4/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/jdk/ldgdklqxrdxrgpg", "e71bc03a5/50377785344: , errno: 5, strerror: Inpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/4cc/4ccb4bc2043a81c7b7e182"]

    (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—23h 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", "138_37_24192759 (state Active) failed with error. ", "essed data header: <uninitialized>): (while reading column identity): (attempt to read data part all_23863211_2420", "821056, typename: DB::AsynchronousBoundedReadBuffer, comp", "-s3-4c4/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/jdk/ldgdklqxrdxrgpgjcwjgetznelfgb (position: 5037", "While reading or decompressing c", "t write offset: 50386173952, caller id: 0fd604e2-22c9-4500-b92d-94a7f22b9827:41405, kind: Regular, unbound: 0:", "8608, reserved size: 8388608, downloader id: None, curre", "1e71bc03a5, state: DOWNLOADED, downloaded size: 83", "22b9827:41405, file segment info: File segment: [50377785344, 50386173951], key: 4ccb4bc2043a81c7b7e18", "il_position: 50399195953, internal buffer end: 2035712, read_type: CACHED, last caller: 0fd604e2-22c9-4500-b92d-94a7", "cwjgetznelfgb, hash key: 4ccb4bc2043a81c7b7e1821e71bc03a5, file_offset_of_buffer_end: 50379821056, read_un", "/output error: Cache info: Buffer path: ch-s3-4c4/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/jdk/ldgdklqxrdxrgpg", "e71bc03a5/50377785344: , errno: 5, strerror: Inpu", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/4cc/4ccb4bc2043a81c7b7e182"]

    (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