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

Default histogram query with generic data returning Error(missing) #2792

Closed
philrz opened this issue Jun 29, 2023 · 1 comment · Fixed by #2794
Closed

Default histogram query with generic data returning Error(missing) #2792

philrz opened this issue Jun 29, 2023 · 1 comment · Fixed by #2794
Assignees
Labels
bug Something isn't working

Comments

@philrz
Copy link
Contributor

philrz commented Jun 29, 2023

Repro is with Zui commit de25266.

The attached video shows the import of the sample.zng data from this repo. As it shows, the default histogram is rendered with Error(missing) for all of the values. A sniff in Wireshark shows the the query being sent to the lake API from here:

const query = `${baseQuery} | ${timeField} != null | count() by time := bucket(${timeField}, ${interval}), group := ${colorField} | sort time`

Looks like this (note the undefined):

{"query":"from 'sample.zng' | ts != null | count() by time := bucket(ts, 100ms), group := undefined | sort time"}
Repro.mp4
@philrz philrz added the bug Something isn't working label Jun 29, 2023
@philrz philrz transferred this issue from brimdata/zed Jun 30, 2023
@philrz
Copy link
Contributor Author

philrz commented Jun 30, 2023

Verified in Zui commit 729f9ee.

As shown in the attached video, now when I import the same sample.zng data and click Query Pool, the stacked bars are segmented by the the expected default Color Field typeof(this) rather than Error(missing).

Verify.mp4

Thanks @jameskerr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants