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

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

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

LantaoJin opened this issue Jun 28, 2024 · 0 comments · Fixed by #2789 · May be fixed by #3241
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.

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
1 participant