felipepessoto commented on PR #13561: URL: https://github.com/apache/gluten/pull/13561#issuecomment-7043850720
Hi @rdtr and @zhztheplayer, could you review [#13561](https://github.com/apache/gluten/pull/13561), the Velox iterator follow-up to [#13560](https://github.com/apache/gluten/pull/13560)? I’d especially appreciate a look at two spots: 1. **Reading from Java:** In [RowVectorStream.cc, lines 74–96](https://github.com/apache/gluten/blob/2bf1181f1177b683733ff7d22fd60dfbad7900fd/cpp/velox/operators/plannodes/RowVectorStream.cc#L74-L96), `wrapJavaException` surrounds the `iterator_->hasNext()` and `iterator_->next()` calls so Velox can’t reduce the original throwable to text. The [cuDF path](https://github.com/apache/gluten/blob/2bf1181f1177b683733ff7d22fd60dfbad7900fd/cpp/velox/operators/plannodes/CudfVectorStream.cc#L66-L83) wraps the same two calls. 2. **Loading a lazy result:** In [WholeStageResultIterator::next(), lines 308–331](https://github.com/apache/gluten/blob/2bf1181f1177b683733ff7d22fd60dfbad7900fd/cpp/velox/compute/WholeStageResultIterator.cc#L308-L331), the `try` covers both `cursor_->moveNext()` and `child->loadedVector()`. The key question is whether the `catch` recovers the original Java throwable in either case while letting native-only errors propagate unchanged. Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
