-
Notifications
You must be signed in to change notification settings - Fork 27
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
Caused by: io.circe.DecodingFailure$$anon$2: Double: DownField(max_temp) #55
Comments
val query = TimeSeriesQuery(
Results foreach works fine.. series throw errro. |
I cannot reproduce the issue. I wrote the following code:
Which version of Scruid are you using? I am testing on the latest v2.1.0 with Circe v0.10.1. |
@hariramesh9a ping! |
Issue happens when there is no data for intervals, and granularity is minutes/seconds
e.g. code DoubleMaxAggregation(fieldName = "temperature", name = "max_temp")
Caused by: io.circe.DecodingFailure$$anon$2: Double: DownField(max_temp)
Full log:
Execution exception[[anon$2: Double: DownField(max_temp)]]
at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:251)
at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:178)
at play.core.server.AkkaHttpServer$$anonfun$1.applyOrElse(AkkaHttpServer.scala:382)
at play.core.server.AkkaHttpServer$$anonfun$1.applyOrElse(AkkaHttpServer.scala:380)
at scala.concurrent.Future.$anonfun$recoverWith$1(Future.scala:417)
at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
Caused by: io.circe.DecodingFailure$$anon$2: Double: DownField(max_temp)
The text was updated successfully, but these errors were encountered: