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

SQL: Add basic support for geo point #31257

Merged
merged 2 commits into from
Jun 12, 2018
Merged

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Jun 12, 2018

Adds basic support for geo point type. For now, the geopoint is
represented as a string and returned in the same format it was stored
in the source.

Relates to #29872

Adds basic support for geo point type. For now the geopoint is
represented as a string and returned in the same format it was stored
in the source.
@imotov imotov added >feature :Analytics/Geo Indexing, search aggregations of geo points and shapes :Analytics/SQL SQL querying labels Jun 12, 2018
@imotov imotov requested a review from costin June 12, 2018 00:00
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

I think this just allows you to return and describe geo points without doing anything interesting with them, right?


cmd.execute(null, ActionListener.wrap(r -> {
assertEquals(19, r.columnCount());
assertEquals(18, r.size());
assertEquals(19, r.size());
Copy link
Member

Choose a reason for hiding this comment

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

assertEquals(names.size, r.size());?

@imotov
Copy link
Contributor Author

imotov commented Jun 12, 2018

@nik9000 correct, just trying to keep PRs manageable.

Copy link
Member

@costin costin left a comment

Choose a reason for hiding this comment

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

LGTM

@imotov imotov merged commit 62a2937 into elastic:geosql Jun 12, 2018
@imotov imotov deleted the add-geopoint-support branch May 1, 2020 22:06
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 :Analytics/SQL SQL querying >feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants