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

Use ZIO-Native Iterator chunking for JDBC result sets #2196

Merged
merged 1 commit into from Jul 9, 2021

Conversation

deusaquilus
Copy link
Collaborator

Since ZIO 1.0.5 did not have a native chunked stream, one needed to be implemented so that fetch-size of the JDBC result set would translate into correspondingly-sized chunks of the ZStream (when the context.stream function was called). Now since the is a ZStream.fromIterator method takes a size-hint argument, we should just use that instead.

@deusaquilus deusaquilus merged commit 4079872 into master Jul 9, 2021
@deusaquilus deusaquilus deleted the zio_jdbc_native_streaming branch July 11, 2021 07:54
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

Successfully merging this pull request may close these issues.

None yet

1 participant