Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
—
There is code in the datafusion physical planner that coerces arguments to compatible types for some expressions (e.g. for equals: https://github.com/apache/arrow/blob/master/rust/datafusion/src/physical_plan/expressions.rs#L1153)
This code needs to be modified to understand dictionary types (so, for example we can express a predicate like col1 = "foo", where col1 is a DictionaryArray.