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 Container implementation for StackedWrapper #27810

Merged
merged 2 commits into from
Jun 22, 2024

Conversation

petrosagg
Copy link
Contributor

Motivation

This PR has a pure code moment commit (the first one) that moves the mz_compute::containers module into mz_timely_util and an implementation of Container for StackedWrapper so that it can be used to move data between timely operators.

Tips for reviewer

Checklist

Pure code movement of the containers module to the mz_timely_util crate
so that it can be reused from more places.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
@petrosagg petrosagg requested a review from a team as a code owner June 22, 2024 15:17
@petrosagg petrosagg requested a review from antiguru June 22, 2024 15:18
Copy link
Member

@antiguru antiguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you.

@@ -11,6 +11,8 @@ workspace = true

[dependencies]
differential-dataflow = "0.12.0"
either = "1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually use either? Can't see it on mobile!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the stacked wrapper needs to define an iterator associated type which either the one from timelystack or the one from chunkedstack

@petrosagg petrosagg enabled auto-merge June 22, 2024 15:25
@petrosagg petrosagg merged commit a7ac1cb into MaterializeInc:main Jun 22, 2024
77 checks passed
@petrosagg petrosagg deleted the stacked-container branch June 22, 2024 16:15
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.

2 participants