mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
Removes `testenv` annotations and related code. These annotations originally let you skip x-pack snippet tests in the docs. However, that's no longer possible. Relates to #79309, #31619 # Conflicts: # docs/reference/ml/df-analytics/apis/get-trained-model-deployment-stats.asciidoc # docs/reference/ml/df-analytics/apis/infer-trained-model-deployment.asciidoc # docs/reference/ml/df-analytics/apis/put-trained-model-definition-part.asciidoc # docs/reference/ml/df-analytics/apis/put-trained-model-vocabulary.asciidoc # docs/reference/ml/df-analytics/apis/start-trained-model-deployment.asciidoc # docs/reference/ml/df-analytics/apis/stop-trained-model-deployment.asciidoc # docs/reference/slm/apis/slm-delete.asciidoc # docs/reference/slm/apis/slm-execute-retention.asciidoc # docs/reference/slm/apis/slm-execute.asciidoc # docs/reference/slm/apis/slm-get-status.asciidoc # docs/reference/slm/apis/slm-get.asciidoc # docs/reference/slm/apis/slm-start.asciidoc # docs/reference/slm/apis/slm-stats.asciidoc # docs/reference/slm/apis/slm-stop.asciidoc # docs/reference/sql/endpoints/client-apps/tableau-desktop.asciidoc # docs/reference/sql/endpoints/client-apps/tableau-server.asciidoc
25 lines
515 B
Text
25 lines
515 B
Text
[role="xpack"]
|
|
[[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]
|
|
----
|
|
|