19818210 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 13:04.557
Run Time 00:07.592
Inserted 7h ago
Scheduled 6h ago
Completed 6h ago (00:08)
Cancelled
Discarded

Args

%{
  "account_id" => "52404",
  "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" => 1772756808591804,
  "recorded" => true,
  "return" => "g1AAAAGoeJxVkcFOwzAQRF0OPdAkqhAHvoCP4FRx4TMsx5mmFo5teZ0s/DxikxgEF0vzNLuesYtS6omPWBAK9eru601EzjGLUIcXbtkNI4r20QwYzCufrj4yabpFDqul42aMxpOeHJE4FLe7zjD2toEuJNIDSja2yGIhzUoCZkF+1e2qU45TLNgM98mM0IsDS44DH7khm4GwIzE8TLF3HhofCdkhWOxjLtRsos7rVprzgs/KOn78wzIoxUDb5BmTcZLalIIplS33qTKSt1lrVNnHWa7bmlZylfMfiAlhr16B9c6+75behCAlf1N2JiU7g/TPH6jLM3f97PyAXKFR36wlmcE",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78b4-7af8-aec7-3686c4b4f447"
}

Recorded Output

%{
  events: 196167,
  errors: 314,
  widget_loaded: 66,
  flows_shown: 270,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 96006,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 14,
  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: 16422,
  builder_events: 0
}

Errors

Attempt 2—6h ago

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

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

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

    # 2
    44

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "pt to read data part all_27678_33866_9_112386651 (state Active) failed with error. It can mean that some retr", "reading column timestamp): (atte", "header: <uninitialized>): (while", "cmgivewzsemymbyxnqdu (position: 516047217, typename: DB::AsynchronousBoundedReadBuffer, compressed data", "129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugb", "c99-4034-a5cf-c83f137ba5b8:2163, kind: Regular, unbound: 0: While reading or decompressing ch-s3-aa", "e: 147825, downloader id: 46bea171-cc99-4034-a5cf-c83f137ba5b8:2163, current write offset: 515899392, caller id: 46bea171-", "32d749790bc492d2558586df, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved si", ": 46bea171-cc99-4034-a5cf-c83f137ba5b8:2163, file segment info: File segment: [515899392, 520093695], key: 9ffd78a", "_position: 516070648, internal buffer end: 516947968, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last calle", "86df, file_offset_of_buffer_end: 516047217, read_unti", "key: 9ffd78af32d749790bc492d2558", "fer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugbgcmgivewzsemymbyxnqdu, hash", "e offset: 515899392, caller id: 46bea171-cc99-4034-a5cf-c83f137ba5b8:2163, kind: Regular, unbound: 0: Cache info: Bu", "cc99-4034-a5cf-c83f137ba5b8:2163, current wri", ", reserved size: 147825, downloader id: 46bea171", "790bc492d2558586df, state: DOWNLOADING, downloaded size: ", "d-only file system, current cache state: File segment: [515899392, 520093695], key: 9ffd78af32d74", "ckhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558586df/515899392: , errno: 30, strerror: Re", "system: Cannot open file /mnt/cl", "86df/515899392: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558"]

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

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

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

    # 1
    "icial build))\n"

    # 2
    44

    # 3
    67

    # 4
    [" (CANNOT_OPEN_FILE) (version 25.10.1.7375 (off", "a is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread)", " all_27678_33866_9_112386651 (state Active) failed with error. It can mean that some retryable error happened, or da", "): (while reading column timestamp): (attempt to read data par", "zsemymbyxnqdu (position: 516047217, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized", "und: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugbgcmgive", "e0b-447f-afbc-42955e2b6096:1127, kind: Regular, unb", "e: 147825, downloader id: 3e373d8d-3e0b-447f-afbc-42955e2b6096:1127, current write offset: 515899392, caller id: 3e373d8d-", "32d749790bc492d2558586df, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved si", ": 3e373d8d-3e0b-447f-afbc-42955e2b6096:1127, file segment info: File segment: [515899392, 520093695], key: 9ffd78a", "_position: 516070648, internal buffer end: 516947968, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last calle", "86df, file_offset_of_buffer_end: 516047217, read_unti", "key: 9ffd78af32d749790bc492d2558", "fer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/udi/mdwvtugbgcmgivewzsemymbyxnqdu, hash", "e offset: 515899392, caller id: 3e373d8d-3e0b-447f-afbc-42955e2b6096:1127, kind: Regular, unbound: 0: Cache info: Bu", "3e0b-447f-afbc-42955e2b6096:1127, current wri", ", reserved size: 147825, downloader id: 3e373d8d", "790bc492d2558586df, state: DOWNLOADING, downloaded size: ", "d-only file system, current cache state: File segment: [515899392, 520093695], key: 9ffd78af32d74", "ckhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558586df/515899392: , errno: 30, strerror: Re", "system: Cannot open file /mnt/cl", "86df/515899392: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9ff/9ffd78af32d749790bc492d2558"]

    (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