You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
POST _plugins/_ppl with {"query": ""} returns 500: Cannot invoke "org.opensearch.sql.ast.statement.Statement.accept(...)" because "plan" is null.
How can one reproduce the bug?
On 3.8.0: POST _plugins/_ppl {"query": ""}.
What is the expected behavior?
400 with a syntax error (e.g. "query is empty").
Activity
ahkcs commentedon Oct 13, 2026
@RyanL1997
RyanL1997 commentedon Oct 13, 2026
Hi @DdangJin, thanks for reporting this. Drafted a PR for the fix: #5868
[BugFix] Fix empty PPL query returning 500 NullPointerException inste…