Dandandan edited a comment on pull request #910:
URL: https://github.com/apache/arrow-datafusion/pull/910#issuecomment-917637560


   Cargo test uses a test profile by default, which uses debug mode.
   
   I think the usage of the test runner + Tokio runtime + the current design of 
DataFusion to recurse into the execution plan and expressions increase the 
usage of stack space.
   Running the test without optimizations will increase the usage of stack 
space, as almost no optimizations are done in this case.
   
   There could be made some improvements like using a explicit stack on the 
heap, e.g. for the `evaluate` function, and redesigning the execution model of 
DataFusion to limit the use of the call stack.


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


Reply via email to