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

[CHORE] Refactor pipeline channel #3235

Draft
wants to merge 2 commits into
base: colin/native-runner
Choose a base branch
from

Conversation

colin-ho
Copy link
Contributor

@colin-ho colin-ho commented Nov 6, 2024

The current PipelineChannel abstraction doesn't work well with streaming sinks, because they can send results from both the execute and finalize methods, and so it's not able to use the get_next_sender method from PipelineChannel.

Instead, it's simpler to have each pipeline node just return a single Receiver, and let the pipeline nodes themselves figure out how to send given the desired ordering.

Depends on #3178

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