mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
docs for h3GetDestinationIndexFromUnidirectionalEdge
This commit is contained in:
parent
7e96156bcc
commit
b5a914ed04
@ -1136,4 +1136,40 @@ Result:
|
||||
│ 599686042433355773 │
|
||||
└────────────────────┘
|
||||
```
|
||||
|
||||
## h3GetDestinationIndexFromUnidirectionalEdge {#h3getdestinationindexfromunidirectionaledge}
|
||||
|
||||
Returns the destination hexagon index from the unidirectional edge H3Index.
|
||||
|
||||
**Syntax**
|
||||
|
||||
``` sql
|
||||
h3GetDestinationIndexFromUnidirectionalEdge(edge)
|
||||
```
|
||||
|
||||
**Parameter**
|
||||
|
||||
- `edge` — Hexagon index number that represents a unidirectional edge. Type: [UInt64](../../../sql-reference/data-types/int-uint.md).
|
||||
|
||||
**Returned value**
|
||||
|
||||
- Destination Hexagon Index number.
|
||||
|
||||
Type: [UInt64](../../../sql-reference/data-types/int-uint.md).
|
||||
|
||||
**Example**
|
||||
|
||||
Query:
|
||||
|
||||
``` sql
|
||||
SELECT h3GetDestinationIndexFromUnidirectionalEdge(1248204388774707197) as destination;
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
``` text
|
||||
┌────────destination─┐
|
||||
│ 599686043507097597 │
|
||||
└────────────────────┘
|
||||
```
|
||||
[Original article](https://clickhouse.com/docs/en/sql-reference/functions/geo/h3) <!--hide-->
|
||||
|
Loading…
Reference in New Issue
Block a user