Repository navigation
Conversation
* "docs(system.settings): Table 'system.settings' has been edited" * Update docs/en/operations/system_tables.md Co-Authored-By: BayoNet <[email protected]> * "docs(system.settings): Table 'system.settings' has been edited" * Update docs/en/operations/system_tables.md Co-Authored-By: BayoNet <[email protected]> * Update docs/en/operations/system_tables.md Co-Authored-By: BayoNet <[email protected]> * Update docs/en/operations/system_tables.md Co-Authored-By: BayoNet <[email protected]> * Update docs/en/operations/system_tables.md Co-Authored-By: BayoNet <[email protected]> * Update docs/en/operations/system_tables.md Co-Authored-By: BayoNet <[email protected]> * "docs(system.settings): Table 'system.settings' has been edited" * "docs(system.settings): Table 'system.settings' has been edited" Co-authored-by: elenbaskakova <[email protected]> Co-authored-by: BayoNet <[email protected]>
…LICKHOUSEDOCS-448-system-settings-table
Enmk
left a comment
There was a problem hiding this comment.
Looks lovely, wish there was a way to automate this kind of formatting.
| - `readonly` (UInt8) — Can user change this setting (for more info, look into [constraints](settings/constraints_on_settings.md#constraints-on-settings)). | ||
| - `name` ([String](../data_types/string.md)) — Setting name. | ||
| - `value` ([String](../data_types/string.md)) — Setting value. | ||
| - `changed` ([UInt8](../data_types/int_uint.md#uint-ranges)) — Shows whether a setting is changed during the session. |
There was a problem hiding this comment.
Changed from default AFAIK. Settings that are defiled in configuration file are also shown in changed.
| - `description` ([String](../data_types/string.md)) — Short setting description. | ||
| - `min` ([Nullable](../data_types/nullable.md)([String](../data_types/string.md))) — Minimum value of the setting, if any is set via [constraints](settings/constraints_on_settings.md#constraints-on-settings). If the setting has no minimum value, contains [NULL](../query_language/syntax.md#null-literal). | ||
| - `max` ([Nullable](../data_types/nullable.md)([String](../data_types/string.md))) — Maximum value of the setting, if any is set via [constraints](settings/constraints_on_settings.md#constraints-on-settings). If the setting has no maximum value, contains [NULL](../query_language/syntax.md#null-literal). | ||
| - `readonly` ([UInt8](../data_types/int_uint.md#uint-ranges)) — Shows whether the current user can change the setting: |
There was a problem hiding this comment.
In previous version there is a link to find information why this setting is readony. In new one it is lost
(for more info, look into [constraints](settings/constraints_on_settings.md#constraints-on-settings))
There was a problem hiding this comment.
That's not about constraints, there are complicated set of conditions which lead to readonly. There is no proper text in docs.
| name, | ||
| value, | ||
| changed, | ||
| description, | ||
| min, | ||
| max, | ||
| readonly |
There was a problem hiding this comment.
If all columns are selected why not use *
| max, | ||
| readonly | ||
| FROM system.settings | ||
| WHERE changed |
There was a problem hiding this comment.
Example with WHERE changed is the top scenario for a user.
- Check that his chahges in xml are used and read correctly.
- Check whether she already set something in current session.
- What configuration is set on a cluster
It is better not to lose this case.
…LICKHOUSEDOCS-448-system-settings-table
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category: