[ 
https://issues.apache.org/jira/browse/ARROW-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Grove updated ARROW-4628:
------------------------------
    Fix Version/s:     (was: 0.14.0)
                   0.13.0

> [Rust] [DataFusion] Implement type coercion query optimizer rule
> ----------------------------------------------------------------
>
>                 Key: ARROW-4628
>                 URL: https://issues.apache.org/jira/browse/ARROW-4628
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust, Rust - DataFusion
>    Affects Versions: 0.12.0
>            Reporter: Andy Grove
>            Assignee: Andy Grove
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Now that we have a query optimizer, we should re-implement type coercion as 
> an optimizer rule that rewrites expressions with explicit casts where 
> required, so that at runtime we are only comparing like types.
> For example, the expression {{float_column < int_column}} would be rewritten 
> as {{float_column < CAST(int_column AS float)}}.
> DataFusion already has this logic but the current implementation is somewhat 
> hacky and incomplete. Moving it to the optimizer will allow us to implement 
> this correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to