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

Add / check sub connections usage with handles #22

Closed
morazow opened this issue Oct 23, 2018 · 0 comments
Closed

Add / check sub connections usage with handles #22

morazow opened this issue Oct 23, 2018 · 0 comments

Comments

@morazow
Copy link
Contributor

morazow commented Oct 23, 2018

This might solve the problem when there are few Spark tasks than Exasol nodes and sub-connections are blocked.

jpizagno pushed a commit to jpizagno/spark-exasol-connector that referenced this issue Nov 1, 2018
Instead of running execute query on each sub-connection separately, we run it in main connection
upfront. Then, each sub connection only requests the result set using a handle.

One important knowledge is that if the handle is -1 then this means empty result set and we return
empty iterator.

This should fix exasol#22
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

1 participant