You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT LOCATE(CASE WHEN FALSE THEN NULL ELSE LEFT(first_name, 1) END, first_name) > 0 AS x FROM test_emp
fails with
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "expected [3] children but received [2]"
}
],
"type" : "illegal_argument_exception",
"reason" : "expected [3] children but received [2]"
},
"status" : 400
}
No stack trace in logs...
Failed to simplify the failing test more than SELECT LOCATE(CASE WHEN FALSE THEN NULL ELSE 'x' END, first_name) > 0 AS x FROM test_emp, it seems it really needs to have a CASE WHEN that goes on a FALSE branch.
The text was updated successfully, but these errors were encountered:
SELECT LOCATE(CASE WHEN FALSE THEN NULL ELSE LEFT(first_name, 1) END, first_name) > 0 AS x FROM test_emp
fails with
No stack trace in logs...
Failed to simplify the failing test more than
SELECT LOCATE(CASE WHEN FALSE THEN NULL ELSE 'x' END, first_name) > 0 AS x FROM test_emp
, it seems it really needs to have a CASE WHEN that goes on aFALSE
branch.The text was updated successfully, but these errors were encountered: