elastic / elasticsearch

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

ESQL: Build grouping blocks as Ordinals #114010

Open nik9000 opened 3 days ago

nik9000 commented 3 days ago

Description

ESQL has support for dictionary encoded blocks of byte valued fields called OrdinalBytesRefBlock. For some of the BlockHash implementations it'd be smaller and faster to build these ordinals blocks most of the time. Specifically the ones that handle a pair or a triple of byte valued columns.

elasticsearchmachine commented 3 days ago

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

nik9000 commented 3 days ago

We could also special case Constant blocks too!