Dandandan opened a new issue #2122:
URL: https://github.com/apache/arrow-datafusion/issues/2122


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   We should be able to compile.
   
   The benefit of this is that we can speed up complex / nested expressions by 
avoiding unnecesarry allocations
   
   **Describe the solution you'd like**
   
   We should be able to take in a collection of a `RecordBatch` / named 
`Array`s and compile an expression like `(a + b)/ 2` to a loop that results in 
a new `Array`.
   ```
   fn compile(schema: SchemaRef, expr: Expr) ->  CompiledFunction {
   
   }
   ```
   
   The loop itself also must be included in the to-be compiled expression, to 
remove call overhead and allow for possible use of SIMD instructions.
   
   **Describe alternatives you've considered**
   n/a
   
   **Additional context**
   


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