Skip to main content
Version: Next
OpenSearch (OpenDistro)

OpenSearch (OpenDistro)

https://opensearch.org/
OpenSearch (OpenDistro) SQL connector for querying OpenSearch and OpenDistro clusters using SQL syntax.
Installation
Required packages: elasticsearch-dbapi
Connection String
odelasticsearch+https://{user}:{password}@{host}:9200/
ParameterDescription
userOpenSearch username
passwordOpenSearch password
hostOpenSearch host
Default port: 9200
Supported Features
JOINsSubqueriesDynamic SchemaCatalog SupportDynamic CatalogSSH TunnelingQuery CancellationFile UploadUser ImpersonationCost EstimationSQL Validation
Feature Score: 26/201
Time Grains
Common Time Grains:
SECONDMINUTEHOURDAYWEEKMONTHQUARTERYEAR
Extended Time Grains:
FIVE_SECONDSTHIRTY_SECONDSFIVE_MINUTESTEN_MINUTESFIFTEEN_MINUTESTHIRTY_MINUTESHALF_HOURSIX_HOURSWEEK_STARTING_SUNDAYWEEK_STARTING_MONDAYWEEK_ENDING_SATURDAYWEEK_ENDING_SUNDAYQUARTER_YEAR
Extended Aggregate Functions
The base aggregates (SUM, COUNT, AVG, MIN, MAX, COUNT DISTINCT) are supported everywhere; these are opt-in per engine.
MEDIANSTDDEV_SAMPVAR_SAMP
Help improve this documentation by editing the engine spec: