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

Does connector support Batch Get? #36

Open
Jerrycjw opened this issue Jul 8, 2016 · 1 comment
Open

Does connector support Batch Get? #36

Jerrycjw opened this issue Jul 8, 2016 · 1 comment

Comments

@Jerrycjw
Copy link

Jerrycjw commented Jul 8, 2016

Hi there,

I want to read multiple rows according to a list of row id, but it seems like connector only supports scan query operation. I'm wondering if connector support batch Get. If it does not support, theoretically speaking, is it possible to add this function? That would be great if you guys can give some ideas about it.

Thanks.

@nicolaferraro
Copy link
Contributor

Sure, it is possible. Under the hood the connector should just parallelize the list of row ids and make individual Gets to HBase, managing resources for each partition.

Though the code will need some refactoring to allow this kind of queries.

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

No branches or pull requests

2 participants