Show truncation indicator in array display#7072
Open
dimitarvdimitrov wants to merge 1 commit intodevelopfrom
Open
Show truncation indicator in array display#7072dimitarvdimitrov wants to merge 1 commit intodevelopfrom
dimitarvdimitrov wants to merge 1 commit intodevelopfrom
Conversation
6378a6d to
1c79cc4
Compare
There was a problem hiding this comment.
Pull request overview
Updates array value display so that when the displayed values are truncated (default limit 16), the output visibly indicates truncation by appending an ellipsis.
Changes:
- Update scalar array display formatting to append
...when output is truncated. - Update
DisplayOptionsdocs to mention the default truncation behavior. - Add a unit test asserting the new truncation indicator behavior.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Dimitar Dimitrov <dimitar@spiraldb.com>
1c79cc4 to
0e2ed56
Compare
robert3005
approved these changes
Mar 19, 2026
Contributor
joseph-isaacs
left a comment
There was a problem hiding this comment.
we need to add custom trunc len. but this can be a follow up
Contributor
joseph-isaacs
left a comment
There was a problem hiding this comment.
would be nice to include the last few values too?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When displaying array values that exceed the display limit (16), we now show
...at the end instead of silently truncating. Makes it obvious the output is incomplete.