mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 01:19:10 +00:00
Add section on syntax, identifiers and literals and on single vs double quotes. (cherry picked from commit aafdb598082e451f36294bd174d0887a276d8c7f)
33 lines
607 B
Plaintext
33 lines
607 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",subs="attributes,callouts,macros"]
|
|
----
|
|
include-tagged::{sql-specs}/docs.csv-spec[describeTable]
|
|
----
|