elasticsearch/docs/reference/esql/processing-commands/drop.asciidoc
2023-06-07 08:35:01 +02:00

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]
----