> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8a08bda2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 包含普通函数和聚合函数信息的系统表。

# system.functions

<div id="description">
  ## 描述
</div>

包含普通函数和聚合函数的相关信息。

<div id="columns">
  ## 列
</div>

* `name` ([String](/zh/reference/data-types)) — 函数的名称。
* `is_aggregate` ([UInt8](/zh/reference/data-types)) — 函数是否为聚合函数。
* `case_insensitive` ([UInt8](/zh/reference/data-types)) — 函数名是否可以不区分大小写使用。
* `alias_to` ([String](/zh/reference/data-types)) — 如果该函数名是别名，则为其原始函数名。
* `create_query` ([String](/zh/reference/data-types)) — 已废弃。
* `origin` ([Enum8('System' = 0, 'SQLUserDefined' = 1, 'ExecutableUserDefined' = 2, 'WasmUserDefined' = 3)](/zh/reference/data-types)) — 已废弃。
* `description` ([String](/zh/reference/data-types)) — 对函数功能的高级描述。
* `syntax` ([String](/zh/reference/data-types)) — 函数签名。
* `arguments` ([String](/zh/reference/data-types)) — 函数参数。
* `parameters` ([String](/zh/reference/data-types)) — 函数参数 (仅适用于聚合函数) 。
* `returned_value` ([String](/zh/reference/data-types)) — 函数返回的值。
* `examples` ([String](/zh/reference/data-types)) — 用法示例。
* `introduced_in` ([String](/zh/reference/data-types)) — 首次引入该函数的 ClickHouse 版本。
* `categories` ([String](/zh/reference/data-types)) — 函数类别。
* `deterministic` ([Nullable(UInt8)](/zh/reference/data-types)) — 对于相同参数，函数是否始终返回相同结果。未知时为 NULL (例如聚合函数或用户自定义函数) 。
* `higher_order` ([Nullable(UInt8)](/zh/reference/data-types)) — 函数是否为高阶函数，即至少接受一个 lambda 表达式作为参数 (例如 arrayMap、arrayFilter、mapApply) 。未知时为 NULL。

<div id="example">
  ## 示例
</div>

```sql title="Query" theme={null}
 SELECT name, is_aggregate, deterministic, case_insensitive, alias_to FROM system.functions LIMIT 5;
```

```text title="Response" theme={null}
┌─name─────────────────────┬─is_aggregate─┬─deterministic─┬─case_insensitive─┬─alias_to─┐
│ BLAKE3                   │            0 │                1 │                0 │          │
│ sipHash128Reference      │            0 │                1 │                0 │          │
│ mapExtractKeyLike        │            0 │                1 │                0 │          │
│ sipHash128ReferenceKeyed │            0 │                1 │                0 │          │
│ mapPartialSort           │            0 │                1 │                0 │          │
└──────────────────────────┴──────────────┴──────────────────┴──────────────────┴──────────┘

5 行。耗时：0.002 秒。
```
