mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-04-06 15:29:10 +00:00
Significantly improve the example snippets in the documentation. The examples are part of the test suite and checked nightly. To help readability, the existing dataset was extended (test_emp renamed to emp plus library). Improve output of JDBC tests to be consistent with the CLI Add lenient flag to JDBC asserts to allow type widening (a long is equivalent to a integer as long as the value is the same).
20 lines
351 B
Plaintext
20 lines
351 B
Plaintext
[role="xpack"]
|
|
[testenv="basic"]
|
|
[[sql-syntax-show-columns]]
|
|
=== SHOW COLUMNS
|
|
|
|
.Synopsis
|
|
[source, sql]
|
|
----
|
|
SHOW COLUMNS [ FROM | IN ] ? table
|
|
----
|
|
|
|
.Description
|
|
|
|
List the columns in table and their data type (and other attributes).
|
|
|
|
["source","sql",subs="attributes,callouts,macros"]
|
|
----
|
|
include-tagged::{sql-specs}/docs.csv-spec[showColumns]
|
|
----
|