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

Remove ShapeValues from Geo specific classes in favour of GeoShapeValues #90100

Merged
merged 2 commits into from
Sep 15, 2022

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Sep 15, 2022

In #89388 we refactor the doc values plumbing for aggregation that resulted in adding the shapeValues and ShapeValue abstractions into many geo classes. This classes are meant to be used for sharing code between different implementation but not to leak into those classes. More over, this change is probably introducing a backwards compatibility issue with painless.

Here is my proposal on how to handle it.

@iverase iverase added :Analytics/Geo Indexing, search aggregations of geo points and shapes >refactoring v8.5.0 labels Sep 15, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Sep 15, 2022
Copy link
Contributor

@craigtaverner craigtaverner left a comment

Choose a reason for hiding this comment

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

While I think this might be a tiny step backwards, I have no objection to playing it safe for now, and seeing later if we want to try remove generics again.

@iverase iverase merged commit 34fd6e1 into elastic:main Sep 15, 2022
@iverase iverase deleted the GoShapeValuesInMapper branch September 15, 2022 14:16
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 >refactoring Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants