Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QL: Support runtime-fields at query-time #68116

Closed
costin opened this issue Jan 28, 2021 · 2 comments
Closed

QL: Support runtime-fields at query-time #68116

costin opened this issue Jan 28, 2021 · 2 comments
Assignees
Labels
:Analytics/EQL EQL querying :Analytics/SQL SQL querying >enhancement Team:QL (Deprecated) Meta label for query languages team

Comments

@costin
Copy link
Member

costin commented Jan 28, 2021

With the introduction of query-time runtime fields, requests can be enhanced with "runtime"/"virtual" fields that augment the mapping.
Both declarative languages should allow clients to specify such fields if desired, similar to the filter parameter.
As a side-note, as the number of params increases, it might make sense to encapsulate ES query parameter into a dedicated object so potential future additions, don't end up clashing with other top-level params:

filter: {} -> enrich { filter: {} , runtime-mapping : {}, <extra-option> : {}
@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label Jan 28, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

@astefan
Copy link
Contributor

astefan commented Apr 8, 2021

This is implemented with #71356.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/EQL EQL querying :Analytics/SQL SQL querying >enhancement Team:QL (Deprecated) Meta label for query languages team
Projects
None yet
Development

No branches or pull requests

3 participants