-
Notifications
You must be signed in to change notification settings - Fork 132
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
Inspector renders null and {} both as "null" #2454
Comments
Also, I'm not sure if this is related, but the attached video shows no hover text in the Table view when rendering the Repro.mp4When the primary issue here gets fixed, if this remains as a problem, I'll open a separate issue. |
This is great. Thanks for tracking this. |
I happened to encounter this issue again and rechecked how things are looking now in the era of the redesigned Table at Brim commit 1e0a608. As it shows, when shown as multiple shapes, the test data from Repro.mp4 |
I was testing the Preview & Load branch, running through the steps in the zq tutorial using the new workflow. This reminded me how this issue is still with us, since the output given here by the CLI tooling is |
The changes in linked PR #2875 thankfully have addressed this for the specific example shown above. Repeating the repro steps at Zui commit b90a400, we now see: However, when I opened this issue I mistakenly thought it was something general to handling of
Rendered in Zui at commit b90a400, we see the problem does indeed remain for the other complex types, though the top-level primitive ones look fine. |
Verified in Zui commit d29e674. The second set of values highlighted in the comment above are now being rendered similar to ZSON. A wider discussion about possible divergence between ZSON presentation and Zui's ZSON-like rendering similar to what's been tracked in this issue has led to the opening of #2880 to track a more automated approach we may use one day to sniff out other not-yet-found examples of problems like this and keep us from regressing. Thanks @jameskerr! |
Repro is with Brim commit 55d1fdc.
Consider the following test data
empties.ndjson
:When output by Zed CLI tooling, the different nature of the two values is preserved.
However, when rendered in the Inspector, both values end up looking the same.
The text was updated successfully, but these errors were encountered: