###
POST {{baseUrl}}/_plugins/_ppl
Content-Type: application/x-ndjson
{
"query": "source = people"
}
###
POST {{baseUrl}}/_plugins/_ppl/_explain
Content-Type: application/x-ndjson
{
"query": "source = people | head 1 from 1"
}
error message
{
"error": {
"reason": "Invalid SQL query",
"details": "Validation Failed: 1: using [from] is not allowed in a scroll context;2: [size] cannot be [0] in a scroll context;",
"type": "ActionRequestValidationException"
},
"status": 400
}
What is the bug?
How can one reproduce the bug?
What is the expected behavior? No exception.