Elasticsearch is a distributed search and analytics engine. Query data using Elasticsearch SQL or OpenSearch SQL syntax.
Installation
Required packages: elasticsearch-dbapi
Drivers
Elasticsearch SQL API (Recommended)Recommended
OpenDistro / OpenSearch SQL
PyPI Package:
elasticsearch-dbapielasticsearch+https://{user}:{password}@{host}:9243/For Elastic Cloud and self-hosted Elasticsearch with SQL enabled.
Supported Features
JOINsSubqueriesDynamic SchemaCatalog SupportDynamic CatalogSSH TunnelingQuery CancellationFile UploadUser ImpersonationCost EstimationSQL Validation
Time Grains
Common Time Grains:
SECONDMINUTEHOURDAYWEEKMONTHQUARTERYEAR
Compatible Databases
The following databases are compatible with the Elasticsearch driver:
