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

Azure TSI call returns Internal server error when requesting floor value. #43

Open
DanielAnt opened this issue Jul 6, 2022 · 0 comments

Comments

@DanielAnt
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

When calling WarmStore through TSI API {{url}}/timeseries/query?api-version=2020-07-31
{
"aggregateSeries":{
"searchSpan":{
"from":"2022-07-06T06:48:00.001Z",
"to":"2022-07-06T13:37:00.001Z"
},
"timeSeriesId":[
"device"
],
"interval":"PT1M",
"inlineVariables":{
"min":{
"kind":"numeric",
"value":{
"tsx":"floor($event.value.Long)"
},
"filter":{
"tsx":"$event.value.Long != null"
},
"aggregation":{
"tsx":"min($value)"
}
}
},
"projectedVariables":[
"min"
]
}
}

Any log messages given by the failure

{
"error": {
"code": "InternalServerError",
"message": "Internal server error. Please retry your request later."
}
}

Expected/desired behavior

Returns floored data

OS and Version?

2020-07-31

Versions

Gen2 (L1)

Mention any other details that might be useful

Floor function doesn't work for any of aggregation methods. The same request works with ceiling and round.


Thanks! We'll be in touch soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant