elastic / elasticsearch

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

SQL: introduce a mechanism for version-independent features check #112745

Open bpintea opened 2 months ago

bpintea commented 2 months ago

Part of the serverless effort we'll want to allow adding SQL server-side features that impact the type and format of the data presented to the clients. This has been achieved so far by gating these features on the (stack) versions. These however aren't granular enough and we'll need a new mechanism that is implemented by both the server and its clients.

Such a mechanism could be based on retrofitting the "version" request field (but in a BWC manner), adding a new dedicated field (for a features-version or some capabilities), or introducing serverless-compatible/dedicated clients.

Related #102689

elasticsearchmachine commented 2 months ago

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