rich7420 commented on code in PR #6498:
URL: https://github.com/apache/datafusion-comet/pull/6498#discussion_r4162280677


##########
native/spark-expr/src/array_funcs/list_extract.rs:
##########
@@ -359,6 +360,113 @@ fn list_extract<O: OffsetSizeTrait>(
     )))
 }
 
+// Inspect owned output capacity directly: nested builders can propagate a 
reservation
+// into deeper children even when the immediate child count was estimated 
correctly.
+// Keep ordinary growth headroom and small aligned buffers to avoid 
unnecessary copies.
+fn has_excess_nested_capacity(array: &dyn Array) -> bool {

Review Comment:
   ok , 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]

Reply via email to