mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-17 22:10:54 +00:00
cd14f9ebcb
* split up select.md * array-join.md basic refactoring * distinct.md basic refactoring * format.md basic refactoring * from.md basic refactoring * group-by.md basic refactoring * having.md basic refactoring * additional index.md refactoring * into-outfile.md basic refactoring * join.md basic refactoring * limit.md basic refactoring * limit-by.md basic refactoring * order-by.md basic refactoring * prewhere.md basic refactoring * adjust operators/index.md links * adjust sample.md links * adjust more links * adjust operatots links * fix some links * adjust aggregate function article titles * basic refactor of remaining select clauses * absolute paths in make_links.sh * run make_links.sh * remove old select.md locations * translate docs/es * translate docs/fr * translate docs/fa * remove old operators.md location * change operators.md links * adjust links in docs/es * adjust links in docs/es * minor texts adjustments * wip * update machine translations to use new links * fix changelog * es build fixes * get rid of some select.md links * temporary adjust ru links * temporary adjust more ru links * improve curly brace handling * adjust ru as well * fa build fix * ru link fixes * zh link fixes * temporary disable part of anchor checks
20 lines
920 B
Markdown
20 lines
920 B
Markdown
# IN运算符相关函数 {#inyun-suan-fu-xiang-guan-han-shu}
|
||
|
||
## in,notIn,globalIn,globalNotIn {#in-notin-globalin-globalnotin}
|
||
|
||
请参阅[IN 运算符](../operators/in.md#select-in-operators)部分。
|
||
|
||
## tuple(x, y, …), operator (x, y, …) {#tuplex-y-operator-x-y}
|
||
|
||
函数用于对多个列进行分组。
|
||
对于具有类型T1,T2,…的列,它返回包含这些列的元组(T1,T2,…)。 执行该函数没有任何成本。
|
||
元组通常用作IN运算符的中间参数值,或用于创建lambda函数的形参列表。 元组不能写入表。
|
||
|
||
## 元组元素(元组,n),运算符x.N {#tupleelementtuple-n-operator-x-n}
|
||
|
||
函数用于从元组中获取列。
|
||
’N’是列索引,从1开始。N必须是常量正整数常数,并且不大于元组的大小。
|
||
执行该函数没有任何成本。
|
||
|
||
[来源文章](https://clickhouse.tech/docs/en/query_language/functions/in_functions/) <!--hide-->
|