ClickHouse / ClickHouse/ClickHouse

Tuples in Pretty and Vertical formats should be displayed naturally as subcolumns.

Open
#65,388 7 comments 1 reaction 2 assignees Claimed by @aaaengel View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.