19827767
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
7 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.214
Queue Time
00:00.924
Run Time
00:01.903
Inserted
3h ago
Scheduled
1h ago
Completed
1h ago (00:02)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "208933",
"date" => "2026-03-06",
"query" => "users_reached",
"window_days" => 30
}
Meta
%{
"deps" => ["generate_event_counts"],
"name" => "generate_users_reached",
"on_hold" => false,
"orig_scheduled_at" => 1772762141215341,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-79be-7204-848e-ed0c2e1f7680"
}
Recorded Output
%{users_reached: 0, builder_event_users_reached: 0, nps_survey_users_reached: 0}
Errors
Attempt 6—1h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
""
# 2
43
# 3
67
# 4
["eeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n", " mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeT", "0_22488012 (state Active) failed with error. It ca", "data part all_12661296_12746905_", "nchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read", "-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn (position: 33967468295, typename: DB::As", "ch-s3-660/aa8129e2-f47e-4b75-bbc", "ler id: 4970d05c-a6fb-4eff-9954-154f4a18dd3b:2231, kind: Regular, unbound: 0: While reading or decompressing", "ved size: 1048576, downloader id: 4970d05c-a6fb-4eff-9954-154f4a18dd3b:2231, current write offset: 33965473792, ca", "74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, rese", ": 4970d05c-a6fb-4eff-9954-154f4a18dd3b:2231, file segment info: File segment: [33965473792, 33969668095], key: 49a", "on: 33967588400, internal buffer end: 33966522368, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last calle", "krbuhdn, hash key: 49ac74b9c9401e4b14d7512160e71c27, file_offset_of_buffer_end: 33967468295, read_until_posit", "5-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawu", "path: ch-s3-660/aa8129e2-f47e-4b", "231, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: 4970d05c-a6fb-4eff-9954-154f4a18dd3b:", ": 1048576, downloader id: 4970d05c-a6fb-4eff-9954-154f4a18dd3b:2231, current write offset: 3396547379", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [33965473792, 33969668095", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/33965473792: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/33965473792: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e"]
(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 5—1h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"25.10.1.7375 (official build))\n"
# 2
45
# 3
67
# 4
["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "th error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: W", "811_14319854_46_22488012 (state Active) failed w", "pressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_1371", "8808, typename: DB::AsynchronousBoundedReadBuffer, co", "g ch-s3-a77/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvw/gkczqxprckqijzbotcynipnpyxorx (position: 230250", ": 075288c6-7b71-474d-8260-07a3f802f826:2373, kind: Regular, unbound: 0: While reading or decompressi", "ize: 1048576, downloader id: 075288c6-7b71-474d-8260-07a3f802f826:2373, current write offset: 23022534656, caller i", "RTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "gment info: File segment: [23022534656, 23026728959], key: 1c84c65d68dfe38ed1b44c778b5f6e5f, state: P", "D_PUT_IN_CACHE, last caller: 075288c6-7b71-474d-8260-07a3f802f826:2373, file s", "_end: 23025058808, read_until_position: 23025149975, internal buffer end: 23023583232, read_type: REMOTE_FS_READ_A", "e/lvw/gkczqxprckqijzbotcynipnpyxorx, hash key: 1c84c65d68dfe38ed1b44c778b5f6e5f, file_offset_of_buffe", "uffer path: ch-s3-a77/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetr", "f826:2373, kind: Regular, unbound: 0: Cache info: ", "534656, caller id: 075288c6-7b71-474d-8260-07a3f80", " size: 1048576, downloader id: 075288c6-7b71-474d-8260-07a3f802f826:2373, current write offset: 2302", ": [23022534656, 23026728959], key: 1c84c65d68dfe38ed1b44c778b5f6e5f, state: DOWNLOADING, downloaded size: 0, reserve", "5f6e5f/23022534656: , errno: 30, strerror: Read-only file system, current cache state: File segmen", "sharedS3DiskCache/1c8/1c84c65d68dfe38ed1b44c778", "6e5f/23022534656: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/1c8/1c84c65d68dfe38ed1b44c778b5"]
(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—1h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
""
# 2
43
# 3
67
# 4
["eeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n", " mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeT", "0_22488012 (state Active) failed with error. It ca", "data part all_12661296_12746905_", "nchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read", "-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn (position: 33967468295, typename: DB::As", "ch-s3-660/aa8129e2-f47e-4b75-bbc", "ler id: cd328be8-7b43-4837-b03d-9ca2b63f0c16:2367, kind: Regular, unbound: 0: While reading or decompressing", "ved size: 1048576, downloader id: cd328be8-7b43-4837-b03d-9ca2b63f0c16:2367, current write offset: 33965473792, ca", "74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, rese", ": cd328be8-7b43-4837-b03d-9ca2b63f0c16:2367, file segment info: File segment: [33965473792, 33969668095], key: 49a", "on: 33967588400, internal buffer end: 33966522368, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last calle", "krbuhdn, hash key: 49ac74b9c9401e4b14d7512160e71c27, file_offset_of_buffer_end: 33967468295, read_until_posit", "5-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawu", "path: ch-s3-660/aa8129e2-f47e-4b", "367, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: cd328be8-7b43-4837-b03d-9ca2b63f0c16:", ": 1048576, downloader id: cd328be8-7b43-4837-b03d-9ca2b63f0c16:2367, current write offset: 3396547379", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [33965473792, 33969668095", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/33965473792: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/33965473792: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e"]
(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—1h 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
44
# 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", "667_14481316_16_22488012 (state Active) failed with error", ", compressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_1446", "9150, typename: DB::AsynchronousBoundedReadBuffe", "g ch-s3-69f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lar/mchsrjnpgdtszgkqnqutjujdemuhy (position: 245189", ": daa050d1-b51c-4e35-b70d-44f61e698161:1147, kind: Regular, unbound: 0: While reading or decompressi", "ize: 1048576, downloader id: daa050d1-b51c-4e35-b70d-44f61e698161:1147, current write offset: 24515706880, caller i", "RTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "gment info: File segment: [24515706880, 24519901183], key: 41f5d2e1cbcfc8d032def82ae9bfaf10, state: P", "D_PUT_IN_CACHE, last caller: daa050d1-b51c-4e35-b70d-44f61e698161:1147, file s", "_end: 24518909150, read_until_position: 24518971393, internal buffer end: 24516755456, read_type: REMOTE_FS_READ_A", "e/lar/mchsrjnpgdtszgkqnqutjujdemuhy, hash key: 41f5d2e1cbcfc8d032def82ae9bfaf10, file_offset_of_buffe", "uffer path: ch-s3-69f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetr", "e offset: 24515706880, caller id: daa050d1-b51c-4e35-b70d-44f61e698161:1147, kind: Regular, unbound: 0: Cache info: ", "oaded size: 0, reserved size: 1048576, downloader id: daa050d1-b51c-4e35-b70d-44f61e698161:1147, current wri", " segment: [24515706880, 24519901183], key: 41f5d2e1cbcfc8d032def82ae9bfaf10, state: DOWNLOADING, down", "system, current cache state: Fil", "bfaf10/24515706880: , errno: 30, strerror: Read-only file", "sharedS3DiskCache/41f/41f5d2e1cbcfc8d032def82ae", "af10/24515706880: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/41f/41f5d2e1cbcfc8d032def82ae9b"]
(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—1h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"IPTOR) (version 25.10.1.7375 (official build))\n"
# 2
50
# 3
67
# 4
["reeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCR", "the query: While executing Merge", "ve) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry", "ized>): (while reading column name): (attempt to read data part all_14879732_14896357_18_22488012 (state Act", "::AsynchronousBoundedReadBuffer, compressed data header: <uninitia", "(position: 11941278, typename: D", "eading or decompressing ch-s3-22a/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gou/kmefmigutzwuhcsuekhyvqydztgvo", "rrent write offset: 12333488, caller id: fa6056fa-6f66-4e0d-9756-61fc8a949165:2335, kind: Regular, unbound: 0: While ", ", reserved size: 3944880, downloader id: None, c", "5511, state: DOWNLOADED, downloaded size: 394488", " 12333487], key: 44d951a2ad73b72b10c5a87927c", "9165:2335, file segment info: File segment: [8388608", "sition: 11941770, internal buffer end: 3552670, read_type: CACHED, last caller: fa6056fa-6f66-4e0d-9756-61fc8a9", "ztgvo, hash key: 44d951a2ad73b72b10c5a87927c05511, file_offset_of_buffer_end: 11941278, read_until_p", "ror: Cache info: Buffer path: ch-s3-22a/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gou/kmefmigutzwuhcsuekhyvqy", "927c05511/8388608: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/44d/44d951a2ad73b72b10c5a8"]
(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—1h 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
43
# 3
67
# 4
["geTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ". It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing Me", "746905_20_22488012 (state Active) failed with erro", "to read data part all_12661296_1", "uninitialized>): (while reading column attributes): (attempt", "rrdawumkrbuhdn (position: 33967468295, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: ", "ding or decompressing ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmig", "ite offset: 33965473792, caller id: a14011ac-5b03-4055-bd72-16e4d5ae8df4:1376, kind: Regular, unbound: 0: While re", "11ac-5b03-4055-bd72-16e4d5ae8df4:1376, current w", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: a14", "nfo: File segment: [33965473792, 33969668095], key: 49ac74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DO", "FS_READ_AND_PUT_IN_CACHE, last caller: a14011ac-5b03-4055-bd72-16e4d5ae8df4:1376, file segment ", ": 33967468295, read_until_position: 33967588400, internal buffer end: 33966522368, read_type: REMOTE", "b9c9401e4b14d7512160e71c27, file_offset_of_buffer_en", " path: ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn, hash key: 49ac7", "376, kind: Regular, unbound: 0: Cache info: Buffe", ", caller id: a14011ac-5b03-4055-bd72-16e4d5ae8df4:", ": 1048576, downloader id: a14011ac-5b03-4055-bd72-16e4d5ae8df4:1376, current write offset: 3396547379", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [33965473792, 33969668095", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/33965473792: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/33965473792: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e"]
(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