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

Output tab doesn't return BLANK value #879

Open
GammaSquare opened this issue Nov 12, 2021 · 3 comments
Open

Output tab doesn't return BLANK value #879

GammaSquare opened this issue Nov 12, 2021 · 3 comments
Labels

Comments

@GammaSquare
Copy link

With a Snowflake connection, the output tab doesn't return a row when the value is ''. The value NULL is properly returned but BLANK is not, which is misleading. (I haven't had time to test on other databases, but the bug seems to be in the output tab, not related to the DB engine)

I've used this script to confirm:

CREATE TEMP TABLE DEBUG
(
FRUIT VARCHAR(32)
)

INSERT OVERWRITE INTO DEBUG (FRUIT)
VALUES (''),('APPLE'),('PEACH'),(NULL);

SELECT * 
FROM DEBUG;

The output tab mentions 1-4 of 4 rows but the tab includes only:

APPLE
PEACH
NULL

I can't highlight the 4th row with a space inside. This is an issue as NULLs aren't joined in Snowflake but spaces do, and with the current result, it's difficult to find where the issue is.

image
image

The solution would be to include the row number next to each row, similarly to what we can see in the Snowflake UI. It would be something like:

1. 
2. APPLE
2. PEACH
3. NULL

Thanks in advance!

@gjsjohnmurray
Copy link
Collaborator

Related to #900

@gjsjohnmurray
Copy link
Collaborator

Confirmed still happening in current versions (PG driver used here):
image

@gjsjohnmurray gjsjohnmurray added bug and removed triage labels Sep 28, 2022
@gjsjohnmurray
Copy link
Collaborator

Results opened in JSON format:
image

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

2 participants