-
Notifications
You must be signed in to change notification settings - Fork 521
chore(line_protocol): fix nanosecond timestamp resolution for points #811
Conversation
rockstars! |
Please let me know if it's not working and we'll get it fixed. Release |
Should release v5.2.4 come with a warning in the unusual case where someone tries to access a point inserted with v5.2.3 from its timestamp? As an example if I insert a point every millisecond, some are inserted with a wrong timestamp, but it might not be an issue because when I try to retrieve a point at a given timestamp the same error is made and I retrieve the right point. Migrating to v5.2.4 the error is not made anymore and influxdb would return no points at the requested (correct) millisecond (because the actual point is slightly off). I agree that this is a corner case and probably not how people should use influxdb. Edit: Actually I am not sure the same error is made when retrieving points, and its probably how this bug was detected |
Hi all, Thank you for continuing to work on this. I am finding potentially two issues:
Any thoughts? Here is my example code you can use to demonstrate the result, just enter in your user, password, host-ip and database name:
|
I got the same issue here with v5.3.0 and v5.2.3 I think the bug is in _dataframe_client.py: replacing with fixes the issue for me. Not a python expert, but it looks like in python3 int/int = float |
Closes #407.
Closes #650.
Closes #649.
Closes #527.
Closes #489.
Closes #346.
Closes #344.
Closes #340.
This PR merges work done in #407 into the current master without inclusion of external requirements (e.g.
pandas
). Thanks to @AndreCAndersen and @clslgrnc !