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: Small code improvements of Pipes & Processors #40909

Merged
merged 1 commit into from
Apr 8, 2019

Conversation

matriv
Copy link
Contributor

@matriv matriv commented Apr 5, 2019

  • Remove superfluous methods that are already defined in superclasses.
  • Improve tests for null folding on conditionals

- Remove superfluous methods that are already
defined in superclasses.
- Improve tests for null folding on conditionals
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

Copy link
Member

@costin costin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

}

return false;
return children().stream().anyMatch(Pipe::supportedByAggsOnlyQuery);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a fan of streams.

@matriv matriv merged commit 67f9404 into elastic:master Apr 8, 2019
@matriv matriv deleted the refactoring branch April 8, 2019 08:13
matriv added a commit that referenced this pull request Apr 8, 2019
- Remove superfluous methods that are already
defined in superclasses.
- Improve tests for null folding on conditionals

(cherry picked from commit 67f9404)
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
- Remove superfluous methods that are already
defined in superclasses.
- Improve tests for null folding on conditionals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants