elastic / elasticsearch

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

ESQL: Introduce a new aggregation mode to handle the node level reduction step #108468

Open astefan opened 2 months ago

astefan commented 2 months ago

Description

Spawned from https://github.com/elastic/elasticsearch/pull/107876#pullrequestreview-2023294281. Essentially, AggregateExec.Mode needs a new flavor of PARTIAL aggregation step for the node-level reduction. This will be used in PlannerUtils.dataNodeReductionPlan and when we create the physical operations to be scheduled by the driver.

elasticsearchmachine commented 2 months ago

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