Skip to content

Conversation

@matriv
Copy link
Contributor

@matriv matriv commented Mar 29, 2019

Previously, an expression like 10 + 2::long would be interpreted
as CAST(10 + 2 AS LONG) instead of 10 + CAST(2 AS LONG).

Previously, an expression like `10 + 2::long` would be interpreted
as `CAST(10 + 2 AS LONG)` instead of `10 + CAST(2 AS LONG)`.
@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

@matriv matriv merged commit e34cc2f into elastic:master Mar 30, 2019
matriv added a commit that referenced this pull request Mar 30, 2019
Previously, an expression like `10 + 2::long` would be interpreted
as `CAST(10 + 2 AS LONG)` instead of `10 + CAST(2 AS LONG)`.


(cherry picked from commit e34cc2f)
@matriv
Copy link
Contributor Author

matriv commented Mar 30, 2019

Backported to 7.x with 862fe61

@matriv matriv deleted the mt/fix-psql-cast branch March 30, 2019 14:33
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