mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-26 08:07:27 -04:00
17 lines
342 B
Text
17 lines
342 B
Text
[[esql-drop]]
|
|
=== `DROP`
|
|
|
|
Use `DROP` to remove columns:
|
|
|
|
[source,esql]
|
|
----
|
|
include::{esql-specs}/docs.csv-spec[tag=dropheight]
|
|
----
|
|
|
|
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}/docs.csv-spec[tag=dropheightwithwildcard]
|
|
----
|