randyli commented on issue #18447:
URL: https://github.com/apache/datafusion/issues/18447#issuecomment-3483899097

   ```
       let array_len = 100000000;
   
       let array = (0..array_len).map(|_| lit(2_i64)).collect::<Vec<_>>();
       let list_array = make_array(vec![make_array(array); 3]);
       let from_array = make_array(vec![lit(2_i64); 3]);
       let to_array = make_array(vec![lit(-2_i64); 3]);
   ```
   The array_len is too large for the test. 
   The `lit` returns an `expr` enum, which may occupy 100+ bytes.  And the 
total memory will be very very large.   
   
   Can we reduce the array_len to a smaller number?  maybe 100000?


-- 
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