You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/26 13:25:02 UTC

[jira] [Closed] (ARROW-10965) [Rust][DataFusion] switching key join order results in error

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

Andrew Lamb closed ARROW-10965.
-------------------------------
    Resolution: Invalid

> [Rust][DataFusion] switching key join order results in error
> ------------------------------------------------------------
>
>                 Key: ARROW-10965
>                 URL: https://issues.apache.org/jira/browse/ARROW-10965
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Rust - DataFusion
>            Reporter: Daniël Heres
>            Priority: Minor
>
> If we switch the order of keys in a equijoin this results in an error. It seems that some code assumes that the left key in the expression is in the left input of the join and the right key comes from the right side.
> For example changing l_orderkey = o_orderkey to
>  o_orderkey = l_orderkey
> in query 12 of  the tpch benchmark, we get this error:
>   
>  {{Error: Plan("The left or right side of the join does not have all columns on \"on\": \nMissing on the left: \{\"o_orderkey\"}\nMissing on the right: \{\"l_orderkey\"}")}}
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)