Skip to content

[BUG] Big decimal literal is not supported with Calcite #4391

@LantaoJin

Description

@LantaoJin

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

Metadata

Metadata

Assignees

Labels

PPLPiped processing languagebugSomething isn't workingcalcitecalcite migration releated

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions