mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
This adds some docs to the top of `docs.csv-spec` and `docs-IT_tests_only.csv-spec` telling folks not to add more stuff there and instead put new examples into whatever files they line up with. It also shifts some things out of the file to "prime the pump" on cleaning it up.
34 lines
543 B
Text
34 lines
543 B
Text
[discrete]
|
|
[[esql-drop]]
|
|
=== `DROP`
|
|
|
|
**Syntax**
|
|
|
|
[source,esql]
|
|
----
|
|
DROP columns
|
|
----
|
|
|
|
*Parameters*
|
|
|
|
`columns`::
|
|
A comma-separated list of columns to remove. Supports wildcards.
|
|
|
|
*Description*
|
|
|
|
The `DROP` processing command removes one or more columns.
|
|
|
|
*Examples*
|
|
|
|
[source,esql]
|
|
----
|
|
include::{esql-specs}/drop.csv-spec[tag=height]
|
|
----
|
|
|
|
Rather than specify each column by name, you can use wildcards to drop all
|
|
columns with a name that matches a pattern:
|
|
|
|
[source,esql]
|
|
----
|
|
include::{esql-specs}/drop.csv-spec[tag=heightWithWildcard]
|
|
----
|