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

Add Elasticsearch GEO_POINT support in New Query Engine. #878

@penghuo

Description

@penghuo

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions