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

[FEATURE] Enhance query hashcode to incorporate additional attributes #252

Open
deshsidd opened this issue Feb 27, 2025 · 1 comment
Open
Labels
enhancement New feature or request untriaged

Comments

@deshsidd
Copy link
Collaborator

Is your feature request related to a problem?

A clear and concise description of what the problem is, e.g. I'm always frustrated when [...].
Currently, the query hashcode is generated based on the query shape that contains field name and field datatype information.

The query hashcode should also be a function of index name, tenant_id/WLM group, resource group, etc.
We can also consider enhancing the query shape to include range width to take in to account a wide range vs a narrow range (Eg: 1 day vs 1 year).

These changes will ensure better grouping of queries and will enable us to see query groups per tenant_id/resource group in the future.

What solution would you like?

A clear and concise description of what you want to happen.

What alternatives have you considered?

A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?

Add any other context or screenshots about the feature request here.

@deshsidd deshsidd added enhancement New feature or request untriaged labels Feb 27, 2025
@deshsidd
Copy link
Collaborator Author

Have some fixed attributes and dynamic attributes to make this more flexible based on my discussion with @backslasht

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged
Projects
None yet
Development

No branches or pull requests

1 participant