Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support config max_display_rows #114

Merged
merged 3 commits into from
May 16, 2023

Conversation

sundy-li
Copy link
Member

default max_display_rows is 40


:) .max_display_rows 10
:) select 1, 'a', number, 2 from numbers(1000);

SELECT
  1,
  'a',
  number,
  2
FROM
  numbers(1000)

┌──────────────────────────────────────┐
│      1     │   'a'  │ number │   2   │
│    UInt8   │ String │ UInt64 │ UInt8 │
├────────────┼────────┼────────┼───────┤
│          1 │ a      │      0 │     2 │
│          1 │ a      │      1 │     2 │
│          1 │ a      │      2 │     2 │
│          1 │ a      │      3 │     2 │
│          1 │ a      │      4 │     2 │
│          · │ ·      │      · │     · │
│          · │ ·      │      · │     · │
│          · │ ·      │      · │     · │
│          1 │ a      │    995 │     2 │
│          1 │ a      │    996 │     2 │
│          1 │ a      │    997 │     2 │
│          1 │ a      │    998 │     2 │
│          1 │ a      │    999 │     2 │
│  1000 rows │        │        │       │
│ (10 shown) │        │        │       │
└──────────────────────────────────────┘
1000 rows in 0.057 sec. Processed 1 thousand rows, 1000B (17.44 thousand rows/s, 136.27 KiB/s)

:) 

@sundy-li sundy-li requested a review from everpcpc May 16, 2023 08:23
@sundy-li sundy-li merged commit 33be15e into databendlabs:main May 16, 2023
@sundy-li sundy-li deleted the max_display_rows branch May 16, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants