Skip to content

Conversation

@craigtaverner
Copy link
Contributor

Cartesian centroids involve much more floating point rounding errors than geo-centroids (since geo are restricted to a small specific range of values). We've fixed this before, but there seems to be a long tail of rare failures.

The test was muted on main, but also reported in 8.17 in #124609, so I'm backporting all the way back.

Fixes #124609

@craigtaverner craigtaverner requested a review from GalLalouche May 7, 2025 20:24
@craigtaverner craigtaverner added >test Issues or PRs that are addressing/adding tests :Analytics/Geo Indexing, search aggregations of geo points and shapes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) auto-backport Automatically create backport pull requests when merged v8.19.0 v9.1.0 v8.17.7 v8.18.2 v9.0.2 labels May 7, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@craigtaverner craigtaverner merged commit 3f5f899 into elastic:main May 8, 2025
17 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.19 Commit could not be cherrypicked due to conflicts
8.17 Commit could not be cherrypicked due to conflicts
8.18 Commit could not be cherrypicked due to conflicts
9.0 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 127857

craigtaverner added a commit to craigtaverner/elasticsearch that referenced this pull request May 8, 2025
craigtaverner added a commit to craigtaverner/elasticsearch that referenced this pull request May 8, 2025
craigtaverner added a commit to craigtaverner/elasticsearch that referenced this pull request May 8, 2025
craigtaverner added a commit to craigtaverner/elasticsearch that referenced this pull request May 8, 2025
ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request May 9, 2025
@craigtaverner
Copy link
Contributor Author

craigtaverner commented May 11, 2025

Manually backported in #127912 and #127913

jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Geo Indexing, search aggregations of geo points and shapes auto-backport Automatically create backport pull requests when merged Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v8.17.7 v8.18.2 v8.19.0 v9.0.2 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] CartesianCentroidCalculatorTests testAddDifferentDimensionalType failing

3 participants