ClickHouse/docs/en/data_types/tuple.rst

7 lines
561 B
ReStructuredText
Raw Normal View History

2017-04-03 19:49:50 +00:00
Tuple(T1, T2, ...)
------------------
2017-04-26 18:10:25 +00:00
Tuples can't be written to tables (other than Memory tables). They are used for temporary column grouping. Columns can be grouped when an IN expression is used in a query, and for specifying certain formal parameters of lambda functions. For more information, see "IN operators" and "Higher order functions".
2017-04-03 19:49:50 +00:00
2017-04-26 18:10:25 +00:00
Tuples can be output as the result of running a query. In this case, for text formats other than JSON*, values are comma-separated in brackets. In JSON* formats, tuples are output as arrays (in square brackets).