mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
hex() added to murmurHash3_128 example
This commit is contained in:
parent
0ef827ded7
commit
0b39a64a6e
@ -437,13 +437,13 @@ A [FixedString(16)](../../sql-reference/data-types/fixedstring.md) data type has
|
|||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
``` sql
|
``` sql
|
||||||
SELECT murmurHash3_128('example_string') AS MurmurHash3, toTypeName(MurmurHash3) AS type;
|
SELECT hex(murmurHash3_128('example_string')) AS MurmurHash3, toTypeName(MurmurHash3) AS type;
|
||||||
```
|
```
|
||||||
|
|
||||||
``` text
|
``` text
|
||||||
┌─MurmurHash3──────┬─type────────────┐
|
┌─MurmurHash3──────────────────────┬─type───┐
|
||||||
│ 6<EFBFBD>1<EFBFBD>4"S5KT<4B>~~q | FixedString(16) │
|
│ 368A1A311CB7342253354B548E7E7E71 │ String │
|
||||||
└──────────────────┴─────────────────┘
|
└──────────────────────────────────┴────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
## xxHash32, xxHash64 {#hash-functions-xxhash32}
|
## xxHash32, xxHash64 {#hash-functions-xxhash32}
|
||||||
|
@ -434,13 +434,13 @@ A [FixedString(16)](../../sql-reference/data-types/fixedstring.md) データ型
|
|||||||
**例**
|
**例**
|
||||||
|
|
||||||
``` sql
|
``` sql
|
||||||
SELECT murmurHash3_128('example_string') AS MurmurHash3, toTypeName(MurmurHash3) AS type
|
SELECT hex(murmurHash3_128('example_string')) AS MurmurHash3, toTypeName(MurmurHash3) AS type;
|
||||||
```
|
```
|
||||||
|
|
||||||
``` text
|
``` text
|
||||||
┌─MurmurHash3──────┬─type────────────┐
|
┌─MurmurHash3──────────────────────┬─type───┐
|
||||||
│ 6<EFBFBD>1<EFBFBD>4"S5KT<4B>~~q │ FixedString(16) │
|
│ 368A1A311CB7342253354B548E7E7E71 │ String │
|
||||||
└──────────────────┴─────────────────┘
|
└──────────────────────────────────┴────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
## xxHash32,xxHash64 {#hash-functions-xxhash32}
|
## xxHash32,xxHash64 {#hash-functions-xxhash32}
|
||||||
|
@ -430,7 +430,7 @@ murmurHash3_128( expr )
|
|||||||
|
|
||||||
**Аргументы**
|
**Аргументы**
|
||||||
|
|
||||||
- `expr` — [выражение](../syntax.md#syntax-expressions), возвращающее значение типа[String](../../sql-reference/functions/hash-functions.md).
|
- `expr` — [выражение](../syntax.md#syntax-expressions), возвращающее значение типа [String](../../sql-reference/functions/hash-functions.md).
|
||||||
|
|
||||||
**Возвращаемое значение**
|
**Возвращаемое значение**
|
||||||
|
|
||||||
@ -439,13 +439,13 @@ murmurHash3_128( expr )
|
|||||||
**Пример**
|
**Пример**
|
||||||
|
|
||||||
``` sql
|
``` sql
|
||||||
SELECT murmurHash3_128('example_string') AS MurmurHash3, toTypeName(MurmurHash3) AS type;
|
SELECT hex(murmurHash3_128('example_string')) AS MurmurHash3, toTypeName(MurmurHash3) AS type;
|
||||||
```
|
```
|
||||||
|
|
||||||
``` text
|
``` text
|
||||||
┌─MurmurHash3──────┬─type────────────┐
|
┌─MurmurHash3──────────────────────┬─type───┐
|
||||||
│ 6<EFBFBD>1<EFBFBD>4"S5KT<4B>~~q │ FixedString(16) │
|
│ 368A1A311CB7342253354B548E7E7E71 │ String │
|
||||||
└──────────────────┴─────────────────┘
|
└──────────────────────────────────┴────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
## xxHash32, xxHash64 {#hash-functions-xxhash32-xxhash64}
|
## xxHash32, xxHash64 {#hash-functions-xxhash32-xxhash64}
|
||||||
|
Loading…
Reference in New Issue
Block a user