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

Add support for Well Known Binary (WKB) in the fields API for spatial fields #103461

Merged
merged 6 commits into from Dec 21, 2023

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Dec 14, 2023

We currently support json, wkt and mvt types. It is trivial to add support for WKB which can help uses cases that works in binary formats like CBOR or SMILE.

@iverase iverase added >enhancement :Analytics/Geo Indexing, search aggregations of geo points and shapes v8.13.0 labels Dec 14, 2023
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Dec 14, 2023
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @iverase, I've created a changelog YAML for you.

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.

Nice feature. Two concerns that I don't think block this but wanted to raise:

  • What is the surface of this? I saw no integration tests, and am not sure how to test this at that level. Yaml tests would expect text to compare, so that seems unfeasible.
  • It only supported LITTLE_ENDIAN binary, but I noticed one test was using both little and big-endian for WKB parsing, and you removed that. I wonder if we should think more about this and add support for both endians?

@iverase iverase merged commit 64a7900 into elastic:main Dec 21, 2023
15 checks passed
@iverase iverase deleted the wkb_fields branch December 21, 2023 12:27
javanna pushed a commit to javanna/elasticsearch that referenced this pull request Dec 21, 2023
navarone-feekery pushed a commit to navarone-feekery/elasticsearch that referenced this pull request Dec 22, 2023
jbaiera pushed a commit to jbaiera/elasticsearch that referenced this pull request Jan 10, 2024
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 >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants