-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
runtime error: division by zero #542
Comments
It's not really clear whether this is a data issue or a bug. I also don't think it's related to #413, you are doing division in the query which could cause a divide by zero error. You should be able to do |
What math library does influxdb use? Instead of forcing the query side to work harder, How does influx currently handle
|
Even if that was possible, json doesn't support infinity or nan, at least not in a standard way |
For the moment, assume I use your approach, filter zero values from the denominator at query time. Perhaps this could be a configurable command line parameter/value that allows users to declare a (text) substitute for the output of division by zero? ("1.0e5000" would appear to overflow even an implementation that uses 128bit float.) [1] |
Closing this issue since #524 is closed. The fix will be included in the next release. |
If my questions are not appropriate to discuss here, a better venue is... |
@tamsky I think https://groups.google.com/forum/#!forum/influxdb works (or irc) |
@pauldix - Can we output |
Running influxdb-0.6.3-1.x86_64.rpm in a single node configuration.
Possibly related #413 but not sure.
The text was updated successfully, but these errors were encountered: