elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
68.7k stars 24.4k forks source link

ESQL: Protection against accidentally loading big fields #109986

Open nik9000 opened 1 month ago

nik9000 commented 1 month ago

Description

ESQL defaults to loading all fields when you do stuff like FROM idx or FROM idx | DROP specific_field. Some fields are very big and would blow out the wire - dense_vector is a good example of a field type that's just a huge amount of data and you rarely want to look at it. It's important that you can fetch it, but maybe not without asking.

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-analytical-engine (Team:Analytics)