EmilyMatt commented on code in PR #22064:
URL: https://github.com/apache/datafusion/pull/22064#discussion_r3219292326
##########
datafusion/physical-plan/src/unnest.rs:
##########
@@ -392,6 +393,11 @@ impl UnnestStream {
self.metrics.baseline_metrics.output_rows(),
self.metrics.baseline_metrics.elapsed_compute(),
);
+ if other.is_none() {
+ // Release the input pipeline's resources.
Review Comment:
It's a specific case bc the match can be both an err and None, but I've
added a couple comments there to make the flow readable even at a skim.
--
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]