-
Notifications
You must be signed in to change notification settings - Fork 30
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
Query method not working for large files #417
Comments
Hi there, I tried to query some large files on crateDB with the above method but it threw the error message
It seems that the file has exceeded the size limit of the function. Could you please recommend a way to query the large files (around 18GB)? Thank you. |
Hi @jiexixi To retrieve large resultsets (i.e. larger than what would fit in the heap) you need to either use a client / driver that supports a fetch size like asyncpg https://github.com/MagicStack/asyncpg or JDBC on a protocol level or run multiple sub-queries and merge the result on the client. |
Hi @jiexixi, apologies for the late reply. Relating to the title of this ticket, are you transferring large files using the CrateDB BLOB interface, or are you running SQL queries that yield large result sets, so the circuit breakers kick in? Relating to @proddata's answer, let me also share those resources with you:
With kind regards, |
Documentation feedback
The text was updated successfully, but these errors were encountered: