OpenSearch/docs/reference/sql/language/syntax/commands/describe-table.asciidoc
Andrei Stefan 4eea9c20ee SQL: document the use of a filter on _routing (#52355)
* Fix "Description"s for various sections in the functions pages.
* Added a TIP for searching using a routing key.
* Other small polishings

(cherry picked from commit 9fad0b1ac4409a42c435ed040f41cbaea18930a3)
2020-02-14 19:00:26 +02:00

35 lines
608 B
Plaintext

[role="xpack"]
[testenv="basic"]
[[sql-syntax-describe-table]]
=== DESCRIBE TABLE
.Synopsis:
[source, sql]
----
DESCRIBE
[table identifier | <1>
[LIKE pattern]] <2>
----
<1> single table identifier or double quoted es multi index
<2> SQL LIKE pattern
or
[source, sql]
----
DESC
[table identifier | <1>
[LIKE pattern]] <2>
----
<1> single table identifier or double quoted es multi index
<2> SQL LIKE pattern
*Description*: `DESC` and `DESCRIBE` are aliases to <<sql-syntax-show-columns>>.
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[describeTable]
----