Leading Spaces Are Trimmed in Results Pane
fuzl-llc opened this issue · comments
Brent commented
Describe the bug
Whitespace is trimmed from results.
Steps to reproduce the behavior:
-
Run these two queries:
select 'blah';
select ' blah'; -
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
- It seems like this is a bug and should be fixed just for correctness sake.
- 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.