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

Neither DataFrameClient nor InfluxDBClient will return more than 10k results #419

Closed
ghost opened this issue Feb 16, 2017 · 6 comments
Closed

Comments

@ghost
Copy link

ghost commented Feb 16, 2017

I've tried altering the number of results InfluxDB itself returns in the query string; this didn't work either. I notice theres a chunked param to the query methods, but these are not documented and a quick look at the source leads me to believe they're unused?

@pkittenis
Copy link

pkittenis commented Feb 16, 2017

Have implemented chunked responses in this PR. The other option is setting max-row-limit to 0 in influxdb config - this may cause DB to run out of memory.

Not sure if this project is actively maintained though, will have to wait and see. In the meantime you can install the PR branch directly if you'd like.

Have need of it also for an influxdb graphite client, may have to point requirements to the fork instead of the official client.

@ghost
Copy link
Author

ghost commented Feb 16, 2017

I'll need portability so it's best that I stick with what's in pip. Thanks for the status update, though. If you know of any alternative (specifically, getting huge amounts of data from influxdb into a data frame easily), I'd love to hear about it.

Thanks again

@pkittenis
Copy link

For what it's worth, pip and its requirements.txt can refer to git repos directly, including branches, PRs, tags and so on.

Not aware of any other options.

@ghost
Copy link
Author

ghost commented Feb 20, 2017

Thanks for the info

@saroele
Copy link

saroele commented Feb 24, 2017

I have the same issue, but only since we upgraded influxdb from 1.0 to 1.2. I'm using influxdb-python 4.0.0.

@saroele
Copy link

saroele commented Feb 24, 2017

I ammended the PR of pkittenis so the DataFrameClient now also correctly uses chunking.
Tested, works for me.

@ghost ghost closed this as completed Feb 24, 2017
This issue was closed.
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

2 participants