Skip to content

Tuples in Pretty format displayed now as subcolumns#78927

Open
aaaengel wants to merge 6 commits intoClickHouse:masterfrom
aaaengel:issue_65388
Open

Tuples in Pretty format displayed now as subcolumns#78927
aaaengel wants to merge 6 commits intoClickHouse:masterfrom
aaaengel:issue_65388

Conversation

@aaaengel
Copy link
Copy Markdown
Contributor

@aaaengel aaaengel commented Apr 9, 2025

Changelog category:

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Tuples in Pretty format displayed now as subcolumns. Closes #65388

SELECT 'hello' AS x, (1 AS a, 'world' AS b) AS t

Was like:
   ┌─x─────┬─t───────────┐
1. │ hello │ (1,'world') │
   └───────┴─────────────┘
   
Now:
  ┌─x─────┬─t─────────┐
  ├───────┼─a─┬─b─────┤
1.│ hello │ 1 │ world │
  └───────┴───┴───────┘

It also draw footer with same subcolumns

SET output_format_pretty_display_footer_column_names_min_rows = 0, output_format_pretty_display_footer_column_names = 1;
SELECT 'hello' AS x, (1 AS a, 'world' AS b) AS t
   ┌─x─────┬─t─────────┐
   ├───────┼─a─┬─b─────┤
1. │ hello │ 1 │ world │
   ├───────┼─a─┴─b─────┤
   └─x─────┴─t─────────┘

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 9, 2025

CLA assistant check
All committers have signed the CLA.

@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Apr 9, 2025
@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Apr 9, 2025

Workflow [PR], commit [82975ef]

@clickhouse-gh clickhouse-gh bot added the pr-improvement Pull request with some product improvements label Apr 9, 2025
@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Oct 17, 2025

Workflow [PR], commit [d471930]

Summary:

job_name test_name status info comment
Style check failure
cpp failure cidb
Fast test failure
Build ClickHouse failure
Build (arm_tidy) failure
Build ClickHouse failure cidb
Build (amd_debug) dropped
Build (amd_asan) dropped
Build (amd_tsan) dropped
Build (amd_msan) dropped
Build (amd_ubsan) dropped
Build (amd_binary) dropped
Build (arm_asan) dropped

@nikitamikhaylov nikitamikhaylov added comp-cli clickhouse-client (interactive CLI) and client library. comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). labels Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-cli clickhouse-client (interactive CLI) and client library. comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). pr-improvement Pull request with some product improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants