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.

Geo function in aggregate query throws exception #1075

@dai-chen

Description

@dai-chen

Because geo function support is missing in new engine, the following falls back to old engine which cannot handle. May need to add support for common geo functions.

SELECT sum(id) AS id FROM index WHERE GEO_INTERSECTS(geo, '\''POLYGON ((102 2, 103 2, 103 3, 102 3, 102 2))'\'')
{
  "error": {
    "reason": "Invalid SQL query",
    "details": "unsupported method: geo_intersects",
    "type": "SqlParseException"
  },
  "status": 400
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions