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 Java streams on SQL fetches effectively #827

Open
sebastian-peter opened this issue Jun 6, 2023 · 0 comments · May be fixed by #1062
Open

Use Java streams on SQL fetches effectively #827

sebastian-peter opened this issue Jun 6, 2023 · 0 comments · May be fixed by #1062
Assignees
Labels
io Issues relating to input/output java Pull requests that update Java code

Comments

@sebastian-peter
Copy link
Member

sebastian-peter commented Jun 6, 2023

Once #773 is merged:

The call to stream() here does not make much sense if one thinks of why we want to use it in the first place. We fetch all rows for a query first, then apply a stream on it to "lazily" handle the rows one by one.
We definitely should not handle this in this PR though, I think. I found information on how to do it though: https://stackoverflow.com/a/64391247

Originally posted by @sebastian-peter in #773 (comment)

@sebastian-peter sebastian-peter added question Further information is requested java Pull requests that update Java code io Issues relating to input/output and removed question Further information is requested labels Jun 6, 2023
@staudtMarius staudtMarius self-assigned this Apr 3, 2024
@staudtMarius staudtMarius linked a pull request Apr 9, 2024 that will close this issue
sebastian-peter added a commit that referenced this issue Jun 13, 2024
…tsches-effectively

# Conflicts:
#	CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io Issues relating to input/output java Pull requests that update Java code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants