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

Tracing aggregation untagged trick makes deserialization very opaque #3132

Closed
fulmicoton opened this issue Apr 3, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@fulmicoton
Copy link
Contributor

if you try passing an incorrect json object like this one

{
 "aggs": {
    "resolution": {
       "term": {"field": "ResolutionWidth"}
     }
 } 
}

(term should be terms)

The error we get is

{
  "message": "Invalid aggregation request: data did not match any variant of untagged enum QuickwitAggregations"
}
@fulmicoton fulmicoton added the bug Something isn't working label Apr 3, 2023
@PSeitz
Copy link
Contributor

PSeitz commented Apr 3, 2023

Duplicate of #1485

@PSeitz PSeitz marked this as a duplicate of #1485 Apr 3, 2023
@fulmicoton
Copy link
Contributor Author

Closing as it is a duplicate.

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
Development

No branches or pull requests

2 participants