drop.asciidoc 342 B

1234567891011121314151617
  1. [[esql-drop]]
  2. === `DROP`
  3. Use `DROP` to remove columns:
  4. [source,esql]
  5. ----
  6. include::{esql-specs}/docs.csv-spec[tag=dropheight]
  7. ----
  8. Rather than specify each column by name, you can use wildcards to drop all
  9. columns with a name that matches a pattern:
  10. [source,esql]
  11. ----
  12. include::{esql-specs}/docs.csv-spec[tag=dropheightwithwildcard]
  13. ----