Skip to content

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

@alexey-milovidov

Description

@alexey-milovidov

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.

Metadata

Metadata

Labels

usabilitywarmup taskThe task for new ClickHouse team members. Low risk, moderate complexity, no urgency.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions