Skip to content

Commit 465e0a4

Browse files
authored
Merge pull request #3430 from Blargian/fix_anchor_on_docs
fix broken anchors
2 parents 19d0aea + 098c30d commit 465e0a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/managing-data/updating-data/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Update mutations can be issued through a `ALTER TABLE … UPDATE` command e.g.
3636
ALTER TABLE posts_temp
3737
(UPDATE AnswerCount = AnswerCount + 1 WHERE AnswerCount = 0)
3838
```
39-
These are extremely IO-heavy, rewriting all the parts that match the `WHERE` expression. There is no atomicity to this process - parts are substituted for mutated parts as soon as they are ready, and a `SELECT` query that starts executing during a mutation will see data from parts that have already been mutated along with data from parts that have not been mutated yet. Users can track the state of the progress via the [systems.mutations](/operations/system-tables/mutations#system_tables-mutations) table. These are I/O intense operations and should be used sparingly as they can impact cluster `SELECT` performance.
39+
These are extremely IO-heavy, rewriting all the parts that match the `WHERE` expression. There is no atomicity to this process - parts are substituted for mutated parts as soon as they are ready, and a `SELECT` query that starts executing during a mutation will see data from parts that have already been mutated along with data from parts that have not been mutated yet. Users can track the state of the progress via the [systems.mutations](/operations/system-tables/mutations) table. These are I/O intense operations and should be used sparingly as they can impact cluster `SELECT` performance.
4040

4141
Read more about [update mutations](/sql-reference/statements/alter/update).
4242

docs/use-cases/observability/schema-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ FROM otel_logs
447447

448448
The above materialized views rely on implicit casting - especially in the case of using the `LogAttributes` map. ClickHouse will often transparently cast the extracted value to the target table type, reducing the syntax required. However, we recommend users always test their views by using the views `SELECT` statement with an [`INSERT INTO`](/sql-reference/statements/insert-into) statement with a target table using the same schema. This should confirm that types are correctly handled. Special attention should be given to the following cases:
449449

450-
- If a key doesn't exist in a map, an empty string will be returned. In the case of numerics, users will need to map these to an appropriate value. This can be achieved with [conditionals](/sql-reference/functions/conditional-functions) e.g. `if(LogAttributes['status'] = ", 200, LogAttributes['status'])` or [cast functions](/sql-reference/functions/type-conversion-functions#touint8163264256ordefault) if default values are acceptable e.g. `toUInt8OrDefault(LogAttributes['status'] )`
450+
- If a key doesn't exist in a map, an empty string will be returned. In the case of numerics, users will need to map these to an appropriate value. This can be achieved with [conditionals](/sql-reference/functions/conditional-functions) e.g. `if(LogAttributes['status'] = ", 200, LogAttributes['status'])` or [cast functions](/sql-reference/functions/type-conversion-functions) if default values are acceptable e.g. `toUInt8OrDefault(LogAttributes['status'] )`
451451
- Some types will not always be cast e.g. string representations of numerics will not be cast to enum values.
452452
- JSON extract functions return default values for their type if a value is not found. Ensure these values make sense!
453453

0 commit comments

Comments
 (0)