What is the bug?
Calcite cannot handle big decimal literal correctly.
How can one reproduce the bug?
POST _plugins/_ppl/
{
"query": """
source=time | eval `FLOOR(9223372036854775807.0000001)` = FLOOR(9223372036854775807.0000001) | fields `FLOOR(9223372036854775807.0000001)`
"""
}
throw assert error
What is the expected behavior?
Above query should pass