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

Make sure query_group_hashcode is present in top_queries response in all cases #187

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

deshsidd
Copy link
Collaborator

@deshsidd deshsidd commented Jan 14, 2025

Description

Describe what this change achieves.
Fixes the bug where query_group_hashcode is not present in the top_queries response in some cases when the from request param is specified. This caused duplicate entries on the dashboard and caused all historical rows to be displayed without query_group_hashcode.

Refactoring: Rename query_hashcode to id as a prereq for #159

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].
closes #186

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ansjcy
Copy link
Member

ansjcy commented Jan 14, 2025

I think we should move the query hash code out from attribute and combine with #159 as an "ID field"

Signed-off-by: Siddhant Deshmukh <[email protected]>
@deshsidd deshsidd merged commit 9810982 into opensearch-project:main Jan 15, 2025
13 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 15, 2025
…all cases (#187)

* Make sure query_group_hashcode is present in top_queries response in all cases

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Rename query_group_hashcoe to id

Signed-off-by: Siddhant Deshmukh <[email protected]>

---------

Signed-off-by: Siddhant Deshmukh <[email protected]>
(cherry picked from commit 9810982)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] query_group_hashcode is not present in the top_queries response in some cases
2 participants