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

SQL: implement SUM, MIN, MAX, AVG over literals (#56786) #56851

Merged
merged 1 commit into from May 15, 2020

Conversation

astefan
Copy link
Contributor

@astefan astefan commented May 15, 2020

  • Adds support for MIN, MAX, AVG, SUM aggregates acting on literals.
    SELECT SUM(1) FROM index
    and
    SELECT SUM(1), AVG(2)
    work both on indices and as local execution.

(cherry picked from commit efb7290)

* Adds support for MIN, MAX, AVG, SUM aggregates acting on literals.
SELECT SUM(1) FROM index
and
SELECT SUM(1), AVG(2)
work both on indices and as local execution.

(cherry picked from commit efb7290)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (:Query Languages/SQL)

@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label May 15, 2020
@astefan astefan merged commit 38f8123 into elastic:7.8 May 15, 2020
@astefan astefan deleted the 56786_7.8_backport branch May 15, 2020 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying backport >feature Team:QL (Deprecated) Meta label for query languages team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants