[
https://issues.apache.org/jira/browse/ARROW-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917804#comment-16917804
]
Andy Grove commented on ARROW-6372:
-----------------------------------
Another note on this ... in this case we have one expression that references a
column and one that is a literal ... in this case the type of the column should
take precedence and the literal value (Int64) should be cast to the type of the
column (UInt32). The literal is Int64 just because that's the type the SQL
parser uses for any literal integers.
> [Rust][Datafusion] Predictate push down optimization can break query plan
> -------------------------------------------------------------------------
>
> Key: ARROW-6372
> URL: https://issues.apache.org/jira/browse/ARROW-6372
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust - DataFusion
> Affects Versions: 0.14.1
> Reporter: Paddy Horan
> Priority: Major
> Labels: beginner
> Fix For: 0.15.0
>
>
> The following code reproduces the issue:
> [https://gist.github.com/paddyhoran/598db6cbb790fc5497320613e54a02c6]
> If you disable the predicate push down optimization it works fine.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)