dropbox / dropbox/PyHive

fetch too many lines and need a better fetchmany

Open
#364 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

I use pyhive in my python code, but I found that, in pyhive, fetchmany just using fetchone.
One case of my code , result has 6000000 lines, and need to export from hive drive, and I test the network latency is 0.3ms, but it still cost about 40 minutes.
Is there a better fetchmay function? In my another thrift hive driver , it use real fetchN function and much less network socket call.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.