Skip to content

Commit

Permalink
Fix failed to get iterator exception
Browse files Browse the repository at this point in the history
  • Loading branch information
JkSelf committed Nov 7, 2023
1 parent ba045c7 commit 8ac788c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ class IteratorApiImpl extends IteratorApi with Logging {

Iterators
.wrap(resIter.asScala)
.protectInvocationFlow()
.recycleIterator {
updateNativeMetrics(resIter.getMetrics)
updateInputMetrics(TaskContext.get().taskMetrics().inputMetrics)
Expand Down

0 comments on commit 8ac788c

Please sign in to comment.