James Rodewig f51f8ed04c [DOCS] Remove unneeded options from [source,sql] code blocks (#42759)
In AsciiDoc, `subs="attributes,callouts,macros"` options were required
to render `include-tagged::` in a code block.

With elastic/docs#827, Elasticsearch Reference documentation migrated
from AsciiDoc to Asciidoctor.

In Asciidoctor, the `subs="attributes,callouts,macros"` options are no
longer needed to render `include-tagged::` in a code block. This commit
removes those unneeded options.

Resolves #41589
2019-05-31 13:05:13 -04:00

29 lines
531 B
Plaintext

[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]
----