Skip to content

[SS-348] implement Batches' for_each_diff_pair as an iterator (to support async operations)#37759

Open
ublubu wants to merge 1 commit into
mainfrom
kynan/batch-pairs
Open

[SS-348] implement Batches' for_each_diff_pair as an iterator (to support async operations)#37759
ublubu wants to merge 1 commit into
mainfrom
kynan/batch-pairs

Conversation

@ublubu

@ublubu ublubu commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

We want to write rows to S3 as soon as we read them from the batch
instead of queuing them in memory for the next operator (write_data_files).

That means the body of our for_each_diff_pair must support async operations.
This PR refactors for_each_diff_pair into an iterator so we can do that (in the stacked PR).

@ublubu
ublubu force-pushed the kynan/batch-pairs branch from 0ed3911 to ead2220 Compare July 20, 2026 20:47
@ublubu ublubu changed the title kynan/batch pairs [SS-348] Iceberg sink write_data_files operator stashes Rc Batches instead of clones of rows, writes rows immediately upon reading Jul 20, 2026
@linear-code

linear-code Bot commented Jul 20, 2026

Copy link
Copy Markdown

SS-348

@ublubu
ublubu marked this pull request as ready for review July 20, 2026 20:51
@ublubu
ublubu requested a review from a team as a code owner July 20, 2026 20:51
@ublubu ublubu changed the title [SS-348] Iceberg sink write_data_files operator stashes Rc Batches instead of clones of rows, writes rows immediately upon reading [SS-348] implement Batches' for_each_diff_pair as an iterator (to support async operations) Jul 21, 2026
@ublubu
ublubu force-pushed the kynan/batch-pairs branch from ead2220 to 4e0d6e5 Compare July 21, 2026 01: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.

1 participant