"elasticsearch endpoint /_opendistro/_sql"
Elasticsearch version:7.9
Reference link : https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-conditional.html
least function is n running properly with docker container elastic search but with aws elasticsearch as service it throwing below error.
{ "error": { "reason": "Invalid SQL query", "details": "Function [LEAST] cannot be found or used here. Did you mean [CAST]?", "type": "SemanticAnalysisException" }, "status": 400
2.1m questions
2.1m answers
60 comments
57.0k users