mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
constant or column note added for other functions
This commit is contained in:
parent
4894588f27
commit
c2533b9743
@ -26,6 +26,7 @@ SELECT
|
||||
## timeZone {#timezone}
|
||||
|
||||
Returns the timezone of the server.
|
||||
If it is executed in the context of a distributed table, then it generates a normal column with values relevant to each shard. Otherwise it produces a constant value.
|
||||
|
||||
**Syntax**
|
||||
|
||||
|
@ -8,6 +8,7 @@ toc_title: Other
|
||||
## hostName() {#hostname}
|
||||
|
||||
Returns a string with the name of the host that this function was performed on. For distributed processing, this is the name of the remote server host, if the function is performed on a remote server.
|
||||
If it is executed in the context of a distributed table, then it generates a normal column with values relevant to each shard. Otherwise it produces a constant value.
|
||||
|
||||
## getMacro {#getmacro}
|
||||
|
||||
@ -691,10 +692,12 @@ Returns the largest value of a and b.
|
||||
## uptime() {#uptime}
|
||||
|
||||
Returns the server’s uptime in seconds.
|
||||
If it is executed in the context of a distributed table, then it generates a normal column with values relevant to each shard. Otherwise it produces a constant value.
|
||||
|
||||
## version() {#version}
|
||||
|
||||
Returns the version of the server as a string.
|
||||
If it is executed in the context of a distributed table, then it generates a normal column with values relevant to each shard. Otherwise it produces a constant value.
|
||||
|
||||
## blockNumber {#blocknumber}
|
||||
|
||||
@ -2101,6 +2104,7 @@ UNSUPPORTED_METHOD
|
||||
## tcpPort {#tcpPort}
|
||||
|
||||
Returns [native interface](../../interfaces/tcp.md) TCP port number listened by this server.
|
||||
If it is executed in the context of a distributed table, then it generates a normal column, otherwise it produces a constant value.
|
||||
|
||||
**Syntax**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user