Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

DataFrameClient messes up DateTimeIndex in write_points() #390

Closed
gansanay opened this issue Nov 30, 2016 · 4 comments
Closed

DataFrameClient messes up DateTimeIndex in write_points() #390

gansanay opened this issue Nov 30, 2016 · 4 comments

Comments

@gansanay
Copy link
Contributor

If you run the pandas tutorial example, the dataframe you query has the same values as the dataframe written but with the index messed up (values around 01-01-1970 00:00) because the timestamps are badly computed.

This doesn't affect the version of influxdb-python you get by pip install, but the GitHub master branch (and my main pull request #388 at this time) are affected: the line protocol is broken.

There is no test to assert that the queried dataframe is equal to the written one.

I will try to make a specific PR for this issue when possible.

@gansanay
Copy link
Contributor Author

I fixed this issue in the master branch of my fork, and also created a branch for the PR. I need to add a test for this problem before creating the PR.

@aviau : Could you please take a look at the master branch of my fork and tell me which of my modifications you would like to keep in the original master?

@weiteli
Copy link

weiteli commented Dec 22, 2016

@gansanay: I am encountering the same problem, is the issue solved?

Thanks

@KoenR3
Copy link

KoenR3 commented Jan 25, 2017

At version 4.0.0 I also have this problem if I use the lines protocol.

@sebito91
Copy link
Contributor

Should be resolved already, but if not please let me know and we can reopen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants