ClickHouse/docs/ru/operations/system-tables/errors.md
damozhaeva c2f1885b12
Update docs/ru/operations/system-tables/errors.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2020-12-11 11:17:40 +03:00

24 lines
827 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# system.errors {#system_tables-errors}
Содержит коды ошибок с указанием количества срабатываний.
Столбцы:
- `name` ([String](../../sql-reference/data-types/string.md)) — название ошибки (`errorCodeToName`).
- `code` ([Int32](../../sql-reference/data-types/int-uint.md)) — номер кода ошибки.
- `value` ([UInt64](../../sql-reference/data-types/int-uint.md)) — количество ошибок.
**Пример**
``` sql
SELECT *
FROM system.errors
WHERE value > 0
ORDER BY code ASC
LIMIT 1
┌─name─────────────┬─code─┬─value─┐
│ CANNOT_OPEN_FILE │ 76 │ 1 │
└──────────────────┴──────┴───────┘
```