-
Notifications
You must be signed in to change notification settings - Fork 115
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
Crash when iterating table with nil data returned? #110
Comments
@srclosson, such crash has been already fixed in the master with 6ac10dcc. |
That did fix one problem, but there is another. The data was a query returned from influxdb 2.0. Notice the first line, the value column has no value. I expect this is because we used a grouping, and the first value was nil. The query looks like this:
The error I get now is the strconv.ParseFloat failed. Ideas? |
It's a bug. Unfortunately, empty values are not yet supported. You can work around this using the fill function in Flux |
You can now try version in the master, where this is fixed. |
Will try it out. |
Confrimed @vlastahajek. Thank-you! |
Just to let you know, that custom order of annotations is now supported since #134. Only the datatype annotation is required. |
For some reason, the following scenario causes a crash:
Data returned from influxdb 2.0
To reproduce, simply call
dr := ExecuteQuery(ctx, models.QueryModel{}, runner)
With the csv returned above and the error looks like this:
I've not looked into it with more detail, but I suspect it has something to do with the face that in the first line of data the value is or empty?
Let me know
The text was updated successfully, but these errors were encountered: