Skip to content

Commit f0eefec

Browse files
committed
Merge branch 'main' of https://github.com/ClickHouse/clickhouse-docs into diataxis-llm
2 parents 75b804f + f162940 commit f0eefec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/integrations/data-visualization/tableau/tableau-analysis-tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ClickHouse has a huge number of functions that can be used for data analysis —
5353
- **`RANDOM()`** *(added in v0.2.1)* — unofficial [`RANDOM()`](https://kb.tableau.com/articles/issue/random-function-produces-inconsistent-results) Tableau function, which returns float between 0 and 1.
5454
- **`RAND_CONSTANT([optional_field])`** *(added in v0.2.1)* — Produces a constant column with a random value. Something like `{RAND()}` Fixed LOD, but faster. Equivalent of [`randConstant()`](/sql-reference/functions/random-functions/#randconstant).
5555
- **`REAL([my_number])`** — Casts field to float (Float64). Details [`here`](/sql-reference/data-types/decimal/#operations-and-result-type).
56-
- **`SHA256([my_string])`** *(added in v0.2.1)* — Calculates SHA-256 hash from a string and returns the resulting set of bytes as a string (FixedString). Convenient to use with the `HEX()` function, for example, `HEX(SHA256([my_string]))`. Equivalent of [`SHA256()`](/sql-reference/functions/hash-functions#sha1-sha224-sha256-sha512-sha512_256).
56+
- **`SHA256([my_string])`** *(added in v0.2.1)* — Calculates SHA-256 hash from a string and returns the resulting set of bytes as a string (FixedString). Convenient to use with the `HEX()` function, for example, `HEX(SHA256([my_string]))`. Equivalent of [`SHA256()`](/sql-reference/functions/hash-functions#SHA256).
5757
- **`SKEWNESS([my_number])`** — Computes the sample skewness of a sequence. Equivalent of [`skewSamp()`](/sql-reference/aggregate-functions/reference/skewsamp).
5858
- **`SKEWNESSP([my_number])`** — Computes the skewness of a sequence. Equivalent of [`skewPop()`](/sql-reference/aggregate-functions/reference/skewpop).
5959
- **`TO_TYPE_NAME([field])`** *(added in v0.2.1)* — Returns a string containing the ClickHouse type name of the passed argument. Equivalent of [`toTypeName()`](/sql-reference/functions/other-functions#totypename).

scripts/settings/autogenerate-settings.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ if [ -f "$FUNCTION_SQL_FILE" ]; then
264264
"Financial"
265265
"Null"
266266
"Encryption"
267+
"Hash"
267268
)
268269

269270
for CATEGORY in "${FUNCTION_CATEGORIES[@]}"; do
@@ -372,6 +373,7 @@ insert_src_files=(
372373
"financial-functions.md"
373374
"null-functions.md"
374375
"encryption-functions.md"
376+
"hash-functions.md"
375377
)
376378

377379
insert_dest_files=(
@@ -388,6 +390,7 @@ insert_dest_files=(
388390
"docs/sql-reference/functions/financial-functions.md"
389391
"docs/sql-reference/functions/functions-for-nulls.md"
390392
"docs/sql-reference/functions/encryption-functions.md"
393+
"docs/sql-reference/functions/hash-functions.md"
391394
)
392395

393396
echo "[$SCRIPT_NAME] Inserting generated markdown content between AUTOGENERATED_START and AUTOGENERATED_END tags"

0 commit comments

Comments
 (0)