ClickHouse / ClickHouse/ClickHouse
Tuples in Pretty and Vertical formats should be displayed naturally as subcolumns.
Open
comp-formats
usability
warmup task
- Dominant language
- C++
- Stars
- 49.9k
- Forks
- 9k
- Avg merge
- 21h 32m
- Merged PRs (30d)
- 515
Description
Currently, it works as follows:
```
clickhouse-cloud :) SELECT 'hello' AS x, (1 AS a, 'world' AS b) AS t
SELECT
'hello' AS x,
(1 AS a, 'world' AS b) AS t
Query id: b86cab0c-9ebf-4af6-b911-66f363ae1d6a
┌─x─────┬─t───────────┐
1. │ hello │ (1,'world') │
└───────┴─────────────┘
```
I want it to be like follows:
```
┌─x─────┬─t─────────┐
├───────┼─a─┬─────b─┤
1. │ hello │ 1 │ world │
└───────┴───┴───────┘
```
Note: it is not exactly the same as flattening tuples. We will display the hierarchy in the header.
Contributor guide
Assessment
This issue has not been assessed yet.