Skip to content

Conversation

@astefan
Copy link
Contributor

@astefan astefan commented Nov 27, 2019

Up until this change, FLOOR and CEIL didn't handle a NULL value, resulting in an ugly NPE in logs.

Fixes #49556.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/SQL)

@astefan
Copy link
Contributor Author

astefan commented Nov 27, 2019

@elasticmachine run elasticsearch-ci/1
elasticsearch-ci/default-distro

@astefan
Copy link
Contributor Author

astefan commented Nov 27, 2019

@elasticmachine run elasticsearch-ci/default-distro

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

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

LGTM

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

@astefan astefan merged commit 034f4cf into elastic:master Dec 2, 2019
@astefan astefan deleted the 49556_fix branch December 2, 2019 14:10
astefan added a commit to astefan/elasticsearch that referenced this pull request Dec 2, 2019
astefan added a commit that referenced this pull request Dec 3, 2019
@astefan astefan removed the v6.8.6 label Dec 3, 2019
@jpountz jpountz changed the title SQL: fix NULL handling for FLOOR and CEIL functions Fix NULL handling for FLOOR and CEIL functions Dec 18, 2019
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
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.

SQL: aliased FLOOR and CEIL functions fail with NPE

5 participants