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

Leading Spaces Are Trimmed in Results Pane #1266

Open
fuzl-llc opened this issue Dec 30, 2023 · 0 comments
Open

Leading Spaces Are Trimmed in Results Pane #1266

fuzl-llc opened this issue Dec 30, 2023 · 0 comments
Labels

Comments

@fuzl-llc
Copy link

Describe the bug
Whitespace is trimmed from results.

Steps to reproduce the behavior:

  1. Run these two queries:
    select 'blah';
    select ' blah';

  2. Notice that the results for the second select (which contains a leading space) does not show the leading space, i.e. the results of both appear the same.

Expected behavior
I would expect the contents of the cell showing the first result to be 'blah' and that of the second to be ' blah' so we can actually see and indent since there was a space there.

Motivation

  1. It seems like this is a bug and should be fixed just for correctness sake.
  2. This is useful for some queries I use to visualize hierarchies where I pad with spaces (and use a fixed width font) to indent child values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant