generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 181
Labels
PPLPiped processing languagePiped processing languagebugSomething isn't workingSomething isn't working
Description
What is the bug?
dedup command raise 500 error when object attribute is specified.
Sample query:
source=logs-* | head 10 | dedup attributes
where attributes is struct like:
{
"cluster": {
"name": "xyz-cluster1-ci-prod-us-east-1",
"region": "us-east-1",
"env": "prod"
},
"log": {
"file": {
"path": "/var/log/xyz/abc.log"
}
},
"obs_body_length": 146
},
error:
{
"error": {
"reason": "There was internal problem at backend",
"details": "java.sql.SQLException: exception while executing query: class java.util.LinkedHashMap cannot be cast to class java.lang.Comparable (java.util.LinkedHashMap and java.lang.Comparable are in module java.base of loader 'bootstrap')",
"type": "RuntimeException"
},
"status": 500
}
How can one reproduce the bug?
run ppl query: source=logs-* | head 10 | dedup attributes
What is the expected behavior?
It should return invalid query error with 4xx status code.
What is your host/environment?
- OS: [e.g. iOS]
- Version [e.g. 22] 3.1
- Plugins
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.
Metadata
Metadata
Assignees
Labels
PPLPiped processing languagePiped processing languagebugSomething isn't workingSomething isn't working
Type
Projects
Status
Done