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


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   I would (primarily) like DataFusion to stop unpacking `DictionaryArray`s 
when comparing to scalar values. It would also be nice to reduce the amount of 
type dispatch in the datafusion `BinaryExpr` physical expression
   
   @matthewmturner  has implemented `eq_dyn_scalar` kernels (which among other 
things have support for `DictionaryArrays` 
https://github.com/apache/arrow-rs/issues/1113)
   
   
   **Describe the solution you'd like**
   I would like the the  big type dispatch in 
`binary_primitive_array_op_scalar` to be replaced by calls to `eq_dyn_scalar`, 
etc
   
   
https://github.com/apache/arrow-datafusion/blob/c549d5145755e3ec07800425a56f86541d476f1f/datafusion/src/physical_plan/expressions/binary.rs#L570-L590
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features 
you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to