elasticsearch/docs/reference/sql/language/syntax/commands/show-columns.asciidoc
Andrei Stefan 9fad0b1ac4
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
2020-02-14 18:58:45 +02:00

26 lines
533 B
Text

[role="xpack"]
[testenv="basic"]
[[sql-syntax-show-columns]]
=== SHOW COLUMNS
.Synopsis:
[source, sql]
----
SHOW COLUMNS [ FROM | IN ]?
[table identifier | <1>
[LIKE pattern] ] <2>
----
<1> single table identifier or double quoted es multi index
<2> SQL LIKE pattern
See <<sql-index-patterns, index patterns>> for more information about
patterns.
*Description*: List the columns in table and their data type (and other attributes).
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[showColumns]
----