- Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
:Analytics/ES|QLAKA ESQLAKA ESQLbug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :R5b96b:">>bugtech debt"" muted="" aria-describedby="LA_kwDOAAe_f87Rj0k0-tooltip :R7b96b:">>tech debtTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
Elasticsearch Version
9.0
Installed Plugins
No response
Java Version
n/a
OS Version
n/a
Problem Description
The following statement
ROW a=0 | EVAL b=CASE(a==0, 1.5, 2)
results in an error:
verification_exception - Found 1 problem line 1:18: third argument of [CASE(a==0, 1.5, 2)] must be [double], found value [2] type [integer]
I'd expect implicit conversion to happen, comparable to C++'s implicit conversion.
Steps to Reproduce
ROW a=0 | EVAL b=CASE(a==0, 1.5, 2)
Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
:Analytics/ES|QLAKA ESQLAKA ESQLbug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :Ra5pmb:">>bugtech debt"" muted="" aria-describedby="LA_kwDOAAe_f87Rj0k0-tooltip :Re5pmb:">>tech debtTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)