mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-04-17 04:40:06 +00: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 d0f60b4425c731509aa8ca765d55f563f866ef90)
27 lines
558 B
Plaintext
27 lines
558 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",subs="attributes,callouts,macros"]
|
|
----
|
|
include-tagged::{sql-specs}/docs/docs.csv-spec[showColumns]
|
|
----
|
|
|