Skip to content

Conversation

@nwt
Copy link
Member

@nwt nwt commented Nov 17, 2025

The GET /query/describe route sends a response containing the output keys for aggregation operations but Zui is interested in the input keys, so send those instead.

This wasn't a problem for Zui for most queries until #6263, which changed the output key for "aggregate by a.b" from a.b (the path of the input key) to b (the last path component of the input key).

Fixes brimdata/zui#3210.

The GET /query/describe route sends a response containing the output
keys for aggregation operations but Zui is interested in the input keys,
so send those instead.

This wasn't a problem for Zui for most queries until #6263, which
changed the output key for "aggregate by a.b" from a.b (the path of the
input key) to b (the last path component of the input key).
@nwt nwt requested a review from a team November 17, 2025 21:09
Copy link
Contributor

@philrz philrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally I hold back on clicking Approve on such PRs, but I the fix seems simple and I just confirmed it's effective. I'm not offended if you want to wait for a second approval from a proper Go developer, though.

@nwt nwt merged commit 908483e into main Nov 17, 2025
2 checks passed
@nwt nwt deleted the query-describe-aggregation_keys branch November 17, 2025 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

drillDown test failures correlated with advance to super commit 5163d68

4 participants