Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add Elasticsearch GEO_POINT support in New Query Engine. #878

Open
penghuo opened this issue Dec 3, 2020 · 0 comments
Open

Add Elasticsearch GEO_POINT support in New Query Engine. #878

penghuo opened this issue Dec 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@penghuo
Copy link
Contributor

penghuo commented Dec 3, 2020

Issue

Currently, we only support the GEO_POINT which has lat and lon attribute. But Elasticsearch support more than that. https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html

Example

The following query throw exception.

PUT geo_test/_doc/1
{
  "location" : [
    -73.8465805053711,
    40.71156692504883
  ]
}

POST _opendistro/_sql/
{
  "query": "select location from geo_test"
}


POST _opendistro/_sql/
{
  "query": "select pickup_datetime,dropoff_datetime from nyc-taxis-2020-11-23-1"
}
@penghuo penghuo added the bug Something isn't working label Dec 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant