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

Tag last batch when coalescing #2853

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Jun 30, 2021

Updates the coalesce iterator to tag the last batch being emitted. This allows code using the iterator to detect the last batch from the iterator without relying on hasNext which often has the unfortunate side-effect of manifesting another batch in memory.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe self-assigned this Jun 30, 2021
@jlowe
Copy link
Member Author

jlowe commented Jun 30, 2021

build

@jlowe jlowe merged commit 79f02b7 into NVIDIA:branch-21.08 Jun 30, 2021
@sameerz sameerz added the task Work required that improves the product but is not user facing label Jul 9, 2021
@jlowe jlowe deleted the coalesce-tag-last-batch branch September 10, 2021 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Work required that improves the product but is not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants