Skip to content

compute: factor out PeekResultIterator, refactor peek fulfillment #32514

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aljoscha
Copy link
Contributor

The original motivation for this is so that the code that extracts peek results can be re-used in
https://github.com/MaterializeInc/database-issues/issues/9180, where we want to use a different transport for sending back peek responses but still need to read them out of arrangements the same way.

The nice side effect is that we separate extracting the result from the logic that accumulates it in a response for sending it back. Which leads to clearer separation.

Work towards https://github.com/MaterializeInc/database-issues/issues/9180

@aljoscha aljoscha requested a review from a team as a code owner May 16, 2025 11:53
@aljoscha
Copy link
Contributor Author

Maybe @antiguru and/or @teskje would be good to review this? 🙏

@antiguru antiguru self-requested a review May 16, 2025 12:06
The original motivation for this is so that the code that extracts peek
results can be re-used in
MaterializeInc/database-issues#9180, where we
want to use a different transport for sending back peek responses but
still need to read them out of arrangements the same way.

The nice side effect is that we separate extracting the result from the
logic that accumulates it in a response for sending it back. Which leads
to clearer separation.
@aljoscha aljoscha force-pushed the compute-refactor-peek-result-iterator branch from 570a68c to c3a400a Compare May 16, 2025 12:32
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.

1 participant