19830678 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 14:15.769
Run Time 00:08.964
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:09)
Cancelled
Discarded

Args

%{
  "account_id" => "213301",
  "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" => 1772758387802212,
  "recorded" => true,
  "return" => "g1AAAAG0eJxNkUFOwzAQRV2EWNAkVBVCXSPYcgu2XMGa2NPWwrEtj5Ohp+AYXIPDcBAmqanYWPpPf77/2EUpteMbnDAU6tXr21FEzjGLUN8/3LKzByzaR7BoQfF67yOTpmPk0KvV8MLNIYInPTiixdGedUYwR7QSQ3fchUTaYslgimSLq5lJwFGQn3U765TjEAsuhtsEB9STQ5Yq269PbshkxHBGYtgOsXceNX4kzA6DwfOYC7UeNLyZU2nME54qU3z/j2WkFAMtkxscwElxKAWHVJbq1zteV0zyQjN54K6SPo5yqYVnbivZyylgdQExYViCrtRlzHhn3sUVue0hBNm2VnviDlIyI5L++4/Hk+euH523mCsE9QsF+54J",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a2a-73b5-987c-e6523db694dd"
}

Recorded Output

%{
  events: 4542056,
  errors: 49380,
  widget_loaded: 0,
  flows_shown: 93486,
  goals_missed: 0,
  goals_reached: 29455,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 1222543,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 12,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 1048,
  emails_sent: 1046,
  emails_bounced: 37,
  emails_failed: 1,
  emails_opened: 512,
  emails_clicked: 111,
  banners_shown: 36,
  appcues_events: 2259308,
  builder_events: 0
}

Errors

Attempt 1—3h ago

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

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

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

    # 2
    54

    # 3
    67

    # 4
    ["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", "99_35_112386651 (state Active) failed with error. It can", "nd: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_99716083_100340", "r id: None, current write offset: 960495616, caller id: a7e75250-7415-4af0-b6b7-c458dc6fe2b5:44745, k", "reserved size: 4194304, download", "egment: [956301312, 960495615], key: 20db12f30d30ab4f671708c8b31400d7, state: DOWNLOADED, downloaded size: 4194304,", " end: 127863, read_type: CACHED, last caller: a7e75250-7415-4af0-b6b7-c458dc6fe2b5:44745, file segment info: File ", " 956429175, read_until_position: 956460779, internal buffe", "0d30ab4f671708c8b31400d7, file_offset_of_buffer_end", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/uzv/sevtixarciymslnbqlwgwfsuhewsd, hash key: 20db12f", "8b31400d7/956301312: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-fd1/a", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/20d/20db12f30d30ab4f671708"]

    (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