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

ASF GitHub Bot updated ARROW-4628:
----------------------------------
    Labels: pull-request-available  (was: )

> [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.14.0
>
>
> 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