mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
To avoid having to specify each spec by hand (which can miss specs to be
added), the test infrastructure now performs classpath discovery so that
each spec added, is automatically considered.
Relates #40358
(cherry picked from commit d0f60b4425
)
32 lines
612 B
Text
32 lines
612 B
Text
[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",subs="attributes,callouts,macros"]
|
|
----
|
|
include-tagged::{sql-specs}/docs/docs.csv-spec[describeTable]
|
|
----
|