OpenSearch/docs/en/sql/language
Nik Everett f0be979541 SQL: Mimick Elasticsearch defaults for sql action (elastic/x-pack-elasticsearch#4398)
The SQL action supports several text outputs and used to default to an
output that looked like the SQL CLI. It is a lovely output format but
this changes output selection behavior to mimick Elasticsearch's
standard behavior: it'll now default to the same format as the request.

That means that if you want the pretty text format then you need to ask
for it. The way to do that is:

```
POST /_xpack/sql?format=text/plain
{
    "query": "SELECT * FROM library ORDER BY page_count DESC LIMIT 5"
}
```

Original commit: elastic/x-pack-elasticsearch@4a15a23b18
2018-04-19 15:40:19 -04:00
..
data-types.asciidoc SQL: More comments in docs 2018-02-02 11:10:34 -05:00
index.asciidoc SQL: Match naming conventions for asciidoc files (elastic/x-pack-elasticsearch#3471) 2018-01-03 15:06:36 -05:00
reserved.asciidoc SQL: Match naming conventions for asciidoc files (elastic/x-pack-elasticsearch#3471) 2018-01-03 15:06:36 -05:00
syntax.asciidoc SQL: Mimick Elasticsearch defaults for sql action (elastic/x-pack-elasticsearch#4398) 2018-04-19 15:40:19 -04:00