Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] _id is not available in PPL where condition #2788

Open
LantaoJin opened this issue Jun 28, 2024 · 0 comments · May be fixed by #2789
Open

[BUG] _id is not available in PPL where condition #2788

LantaoJin opened this issue Jun 28, 2024 · 0 comments · May be fixed by #2789
Labels
bug Something isn't working

Comments

@LantaoJin
Copy link
Member

LantaoJin commented Jun 28, 2024

What is the bug?
#639 reported the issue in SQL and addressed by #1456. But the problem is still existed in PPL.

How can one reproduce the bug?

POST _plugins/_ppl
{
"query": "source=my-index1 | where _id = 1"
}

SemanticCheckException was encountered

What is the expected behavior?
Allow metadata fields in PPL query, as same as SQL query.

What is your host/environment?

  • Version 2.15
  • Plugins SQL

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.

@LantaoJin LantaoJin added bug Something isn't working untriaged labels Jun 28, 2024
@LantaoJin LantaoJin linked a pull request Jun 28, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant