Closed alex-spies closed 1 week ago
Pinging @elastic/es-analytics-geo (Team:Analytics)
Pinging @elastic/es-analytical-engine (Team:Analytics)
I've opened https://github.com/elastic/elasticsearch/issues/110663 to address the second bullet. I think the cast is okay for now, but we really should get around to supporting mixed operations on unsigned longs soon. That particular one is pretty easy. I'm working on a PR to fix the first bullet, should be up shortly.
Elasticsearch Version
main
Installed Plugins
No response
Java Version
17
OS Version
Ubuntu 23.04
Problem Description
row a=0 | EVAL b=1 > -9223372036854775809
returnsThis should at least return a 400.
row a=0 | EVAL b=1 > 9223372036854775809
returnsThis is generally correct, but it's unexpected given that the following query runs fine:
row a=0 | EVAL b=1 > 92233720368547758090
(just add a 0 at the end).Maybe we should not cast literals to unsigned long, unless the user explicitly writes
to_ul(...)
?Steps to Reproduce
See above.
Logs (if relevant)
No response