-
Notifications
You must be signed in to change notification settings - Fork 181
Description
What is the bug?
When i accidentally run an incorrect PPL command, it doesn't report PPL syntax error instead of it reporting query exception
POST _plugins/_ppl/
{
"query": "source source=train-ticket-metrics-81 | head 10"
}
"{\n \"error\": {\n \"reason\": \"There was internal problem at backend\",\n \"details\": \"java.sql.SQLException: exception while executing query: Failed to fetch data from the index: the background task failed or interrupted.\\n Inner error: Failed to execute phase [query], all shards failed; shardFailures {[R3azv5VmSbWa-Pduq7IN8A][train-ticket-metrics-81][0]: RemoteTransportException[[bcd07463160c][10.118.165.75:9310][indices:data/read/search[phase/query]]]; nested: QueryShardException[failed to create query: field expansion for [*] matches too many fields, limit: 1024, got: 1572]; nested: IllegalArgumentException[field expansion for [*] matches too many fields, limit: 1024, got: 1572]; }\",\n \"type\": \"RuntimeException\"\n },\n \"status\": 500\n}"
How can one reproduce the bug?
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
What is the expected behavior?
syntax error reported
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?
The index contains 1572 fileds
Metadata
Metadata
Assignees
Labels
Type
Projects
Status