mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-26 16:17:19 -04:00
This adds the documentation for CCS SQL. Co-authored-by: James Rodewig <james.rodewig@elastic.co>
30 lines
738 B
Text
30 lines
738 B
Text
[role="xpack"]
|
|
[[sql-syntax-show-columns]]
|
|
=== SHOW COLUMNS
|
|
|
|
.Synopsis:
|
|
[source, sql]
|
|
----
|
|
SHOW COLUMNS
|
|
[CATALOG identifier]? <1>
|
|
[INCLUDE FROZEN]? <2>
|
|
[FROM | IN]
|
|
[table_identifier | <3>
|
|
LIKE pattern] <4>
|
|
----
|
|
|
|
<1> Catalog (cluster) identifier. Supports wildcards (`*`).
|
|
<2> Whether or not to include frozen indices.
|
|
<3> Single table (index or data stream) identifier or double-quoted multi-target pattern.
|
|
<4> SQL LIKE pattern matching table names.
|
|
|
|
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]
|
|
----
|
|
|