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
On the surface it might look similar to #33361, but it is causing an exception in painless rather then in planner, so I think it's a separate issue. To reproduce:
DELETE test
PUT test/doc/1
{
"foo": "42"
}
POST _xpack/sql?format=text/plain
{
"query": """
SELECT foo, CAST(foo.keyword AS DOUBLE) test_str FROM "test" ORDER BY foo.keyword
"""
}
POST _xpack/sql?format=text/plain
{
"query": """
SELECT foo, CAST(foo.keyword AS DOUBLE) test_str FROM "test" ORDER BY test_str
"""
}
The first SELECT statement works, but the second causes the exception:
On the surface it might look similar to #33361, but it is causing an exception in painless rather then in planner, so I think it's a separate issue. To reproduce:
The first SELECT statement works, but the second causes the exception:
The full stacktrace:
The text was updated successfully, but these errors were encountered: