Skip to content

Switch datafusion to using eq_dyn_scalar, etc kernels #1610

@alamb

Description

@alamb

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 DictionaryArrays 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 apache/arrow-rs#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions