From 6bfa31fbef254beb1a0bf8c8abc9b6803123d4fa Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Mon, 26 Feb 2024 11:10:23 +0000 Subject: [PATCH 1/2] Document system.settings_changes --- .../system-tables/settings_changes.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/en/operations/system-tables/settings_changes.md diff --git a/docs/en/operations/system-tables/settings_changes.md b/docs/en/operations/system-tables/settings_changes.md new file mode 100644 index 00000000000..38bde19ade8 --- /dev/null +++ b/docs/en/operations/system-tables/settings_changes.md @@ -0,0 +1,32 @@ +--- +slug: /en/operations/system-tables/settings_changes +--- +# settings_changes + +Contains information about setting changes in previous ClickHouse versions. + +Columns: + +- `version` ([String](../../sql-reference/data-types/string.md)) — The ClickHouse version in which settings were changed +- `changes` ([Array](../../sql-reference/data-types/string.md) of [Tuple](../../sql-reference/data-types/tuple.md)) — A description of the setting changes: (setting name, previous value, new value, reason for the change) + +**Example** + +``` sql +SELECT * +FROM system.settings_changes +WHERE version = '23.5' +FORMAT Vertical +``` + +``` text +Row 1: +────── +version: 23.5 +changes: [('input_format_parquet_preserve_order','1','0','Allow Parquet reader to reorder rows for better parallelism.'),('parallelize_output_from_storages','0','1','Allow parallelism when executing queries that read from file/url/s3/etc. This may reorder rows.'),('use_with_fill_by_sorting_prefix','0','1','Columns preceding WITH FILL columns in ORDER BY clause form sorting prefix. Rows with different values in sorting prefix are filled independently'),('output_format_parquet_compliant_nested_types','0','1','Change an internal field name in output Parquet file schema.')] +``` + +**See also** + +- [Settings](../../operations/settings/index.md#session-settings-intro) +- [system.settings](settings.md) From 207187ab97b35002366d6ac7cf9648294804dab1 Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Mon, 26 Feb 2024 12:54:27 +0100 Subject: [PATCH 2/2] Update docs/en/operations/system-tables/settings_changes.md Co-authored-by: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> --- docs/en/operations/system-tables/settings_changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/operations/system-tables/settings_changes.md b/docs/en/operations/system-tables/settings_changes.md index 38bde19ade8..c097915d430 100644 --- a/docs/en/operations/system-tables/settings_changes.md +++ b/docs/en/operations/system-tables/settings_changes.md @@ -8,7 +8,7 @@ Contains information about setting changes in previous ClickHouse versions. Columns: - `version` ([String](../../sql-reference/data-types/string.md)) — The ClickHouse version in which settings were changed -- `changes` ([Array](../../sql-reference/data-types/string.md) of [Tuple](../../sql-reference/data-types/tuple.md)) — A description of the setting changes: (setting name, previous value, new value, reason for the change) +- `changes` ([Array](../../sql-reference/data-types/array.md) of [Tuple](../../sql-reference/data-types/tuple.md)) — A description of the setting changes: (setting name, previous value, new value, reason for the change) **Example**