Time Series Insights WarmStore floor function.
Hi,
I'm having an issue, when I send this request, I'm getting Internal Server Error response.
Request:
{
"aggregateSeries":{
"searchSpan":{
"from":"2022-06-30T06:48:00.001Z",
"to":"2022-07-06T13:37:00.001Z"
},
"timeSeriesId":[
"device"
],
"interval":"PT1440M",
"inlineVariables":{
"min":{
"kind":"numeric",
"value":{
"tsx":"floor($event.parameter_name.Long)"
},
"filter":{
"tsx":"$event.parameter_name.Long != null"
},
"aggregation":{
"tsx":"min($value)"
}
}
},
"projectedVariables":[
"min"
]
}
}
Response:
{
"error": {
"code": "InternalServerError",
"message": "Internal server error. Please retry your request later."
}
}
I send this request to {url}/timeseries/query?api-version=2020-07-31?storeType=WarmStore.
This request works perfectly fine on ColdStore. I have checked it on two of TSI instances that I'm working with. Also It works when I change floor to ceiling or round.
Regards,
Daniel