Skip to content

[BUG] Cannot parse ISO format when calcite enable #4188

Closed

Description

@xinyual

What is the bug?
When we enable calcite, ppl cannot parse ISO format.

How can one reproduce the bug?
Steps to reproduce the behavior:

PUT /demo
{
    "mappings": {
        "properties": {
            "time": {
                  "type": "date"
                }
        }
    }
}
PUT  /_cluster/settings/
{
  "transient" : {
    "plugins.calcite.enabled": true,
    "plugins.calcite.pushdown.enabled": true
  }
}

Then run PPL

POST /_plugins/_ppl/
{
    "query": "source = demo | where time>'2025-08-25T00:00:00Z'"
}

Get error
timestamp:2025-08-25T00:00:00Z in unsupported format, please use 'yyyy-MM-dd HH:mm:ss[.SSSSSSSSS]'

What is the expected behavior?
A clear and concise description of what you expected to happen.

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

Activity

  1. added
    bug
    on Sep 1, 2025
  2. added
    PPL
    and removed on Sep 3, 2025
  3. self-assigned this
    on Sep 3, 2025
  4. moved this from Not Started to In progress in PPL Trackeron Sep 12, 2025
  5. moved this from In progress to Done in PPL Trackeron Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PPLbug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions