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

[v10.1.x] Elasticsearch: Fix respecting of precision in geo hash grid #73933

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 6742be0 from #73917


Fixes https://github.com/grafana/support-escalations/issues/7216

Special notes for your reviewer:
precision was not respected in backend queries because we were expecting precision to be int bucketAgg.Settings.Get("precision").MustInt(3) and it is string (type here). Therefore default value of 3 was always applied.

* Elasticsearch: Fix ignoring precision when running queries trough backend

* Unify default value

* Revert "Unify default value"

This reverts commit d8e1d20.

* Update test

(cherry picked from commit 6742be0)
@ivanahuckova ivanahuckova enabled auto-merge (squash) August 28, 2023 13:30
@ivanahuckova ivanahuckova merged commit 4233541 into v10.1.x Aug 28, 2023
17 of 18 checks passed
@ivanahuckova ivanahuckova deleted the backport-73917-to-v10.1.x branch August 28, 2023 13:40
@guicaulada guicaulada modified the milestones: 10.1.x, 10.1.1 Aug 29, 2023
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.

None yet

2 participants