Skip to content

Conversation

@astefan
Copy link
Contributor

@astefan astefan commented Nov 28, 2019

Fix the optional parameter handling in case LOCATE function received as parameters other functions that made its Node to have its children transformed. During this transformation step, the optional parameter was never accounted for.

Fixes #49557.

@elasticmachine
Copy link
Collaborator

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

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 dd3aeb8 into elastic:master Dec 2, 2019
@astefan astefan deleted the 49557_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 LOCATE function optional parameter handling Fix LOCATE function optional parameter handling 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.

LOCATE function fails in a very specific way

5 participants