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

Model changes for query_group_hashcode and id #191

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

deshsidd
Copy link
Collaborator

@deshsidd deshsidd commented Jan 16, 2025

Description

Model changes for query_group_hashcode and id.

query_group_hashcode: Will be used to store the hashcode of the query shape and used by the group_by feature (only applicable for query groups)
id: UUID used to uniquely identify a query/group. This will be displayed in the id column on the dashboard

Updated the unit tests.

Changes are part of the larger set of changes required to solve the issue where the query/group details page on the dashboard is broken when refreshed.

Issues Resolved

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

Addresses: #159
Addresses: opensearch-project/query-insights-dashboards#12

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.

Sample Dashboard Screenshots with UUID:
image
image

Copy link
Member

@ansjcy ansjcy left a comment

Choose a reason for hiding this comment

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

LGTM, only one minor comment

Signed-off-by: Siddhant Deshmukh <[email protected]>
@deshsidd deshsidd merged commit 1d991b8 into opensearch-project:main Jan 16, 2025
12 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 16, 2025
Signed-off-by: Siddhant Deshmukh <[email protected]>
(cherry picked from commit 1d991b8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
deshsidd pushed a commit that referenced this pull request Jan 16, 2025
(cherry picked from commit 1d991b8)

Signed-off-by: Siddhant Deshmukh <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-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.

2 participants