Can be used to write into query_log only failed queries (i.e. on memory
exceeded error), by using:
set log_queries_min_type='EXCEPTION_WHILE_PROCESSING'
* CLICKHOUSEDOCS-559: Started to describe GRANT
* CLICKHOUSEDOCS-559: Added headers for some other kinds of quries.
* CLICKHOUSEDOCS-559: Further edits.
* CLICKHOUSEDOCS-559: Updated grant description.
* CLICKHOUSEDOCS-559: The first version for the GRANT statement is finished.
* CLICKHOUSEDOCS-559: Almost finished CREATE USER
* CLICKHOUSEDOCS-559: Finished the first version of CREATE queries.
* CLICKHOUSEDOCS-559: Finished ALTER, DROP and SET.
* CLICKHOUSEDOCS-559: Finished the first version of statements.
* CLICKHOUSEDOCS-559: Update by review.
* CLICKHOUSEDOCS-559: Update by review.
* Update docs/en/query_language/alter.md
* Update docs/en/query_language/create.md
Co-Authored-By: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
* Update docs/en/query_language/grant.md
Co-Authored-By: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
* Update by comments. Also RBAC-7 aplied.
* moved new files to new structure
* Adopted added articles to a new structure.
* CLICKHOUSEDOCS-559: Fixed links.
* CLICKHOUSEDOCS-559: Links fix.
* CLICKHOUSEDOCS-559: Updated privileges by RBAC-8 changes
* CLICKHOUSEDOCS-559: Added CREATE, ALTER, DROP, and SHOW queries for QUOTAS and SETTINGS PROFILES.
* CLICKHOUSEDOCS-559: Added ON CLUSTER for CREATE, ALTER, DROP.
* CLICKHOUSEDOCS-559: Fixed code-blocks and the anchor.
* CLICKHOUSEDOCS-559: Edits after the last portion of commentaries.
* CLICKHOUSEDOCS-559: Changed example
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* "docs(system.settings): Table 'system.settings' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries has been edited"
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
The IPv6CIDRToRange() appears to use bits while cutIPv6() will cut in bytes.
WITH IPv6StringToNum('FFFF:FFFF:FFFF:FFFF:AAAA:AAAA:AAAA:AAAA') AS ipv6
SELECT
cutIPv6(ipv6, 8, 0),
tupleElement(IPv6CIDRToRange(ipv6, 64), 1)