Skip to content
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

1024 rows limit #1

Open
alexsutu opened this issue Jan 10, 2020 · 1 comment
Open

1024 rows limit #1

alexsutu opened this issue Jan 10, 2020 · 1 comment

Comments

@alexsutu
Copy link

Great repo, looks promising, thanks for that.
I just tried both hiveserver2 and beeswax protocols and every time I query I get a maximum of 1024 rows. Any thoughts on what the problem may be?

@lenchv
Copy link

lenchv commented Feb 23, 2020

Hi @alexsutu ! It is strange, that you get 1024, because of the size of block by default 5120. Anyway, my theory is that you you fetch only first block. As I know, when you fetch the result the hive returns it by portions. It means, if fetchBlock returns hasMoreRows: true, you have to call fetchBlock one more time. BTW, you can try hive-driver, it should work well, if not you can create an issue and I will explain with more details. Thanks.

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

No branches or pull requests

2 participants