-
Notifications
You must be signed in to change notification settings - Fork 242
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 retry to BatchByKeyIterator #8058
Conversation
Signed-off-by: Robert (Bobby) Evans <[email protected]>
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments.
spillableBuffers.append(pending.dequeue()) | ||
} | ||
pendingSize = 0 | ||
last.foreach { lastSpill => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit, could be replaced with: spillableBuffers.appendAll(last)
. I didn't know that you could, but it looks like appendAll
can handle an Option
and if set to None
it is a noop.
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuKeyBatchingIterator.scala
Show resolved
Hide resolved
build |
@abellina could you take another look? |
build |
@abellina could you look at this again. I had to upmerge |
This fixes #7778
It also fixes a bug in closeOnExcept where scala can throw an exception for flow control which in my case resulted in a use after free error for an intermediate version of the patch.