[
https://issues.apache.org/jira/browse/ARROW-10760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Grove updated ARROW-10760:
-------------------------------
Description:
Se this ignored test in tests/sql.rs for an example (once
[https://github.com/apache/arrow/pull/8785] is merged)
{code:java}
---- equijoin_implicit_syntax_with_filter stdout ----
thread 'equijoin_implicit_syntax_with_filter' panicked at 'Creating physical
plan for 'SELECT t1_id, t1_name, t2_name FROM t1, t2 WHERE t1_id > 0 AND t1_id
= t2_id AND t2_id < 99 ORDER BY t1_id': Sort: #t1_id ASC NULLS FIRST
Projection: #t1_id, #t1_name, #t2_name
Join: t1_id = t2_id
Filter: #t1_id Gt Int64(0) And #t2_id Lt Int64(99)
TableScan: t1 projection=Some([0, 1])
Filter: #t1_id Gt Int64(0) And #t2_id Lt Int64(99)
TableScan: t2 projection=Some([0, 1]):
ArrowError(InvalidArgumentError("Unable to get field named \"t2_id\". Valid
fields: [\"t1_id\", \"t1_name\"]"))', datafusion/tests/sql.rs:1262:48
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
{code}
was:
{code:java}
---- equijoin_implicit_syntax_with_filter stdout ----
thread 'equijoin_implicit_syntax_with_filter' panicked at 'Creating physical
plan for 'SELECT t1_id, t1_name, t2_name FROM t1, t2 WHERE t1_id > 0 AND t1_id
= t2_id AND t2_id < 99 ORDER BY t1_id': Sort: #t1_id ASC NULLS FIRST
Projection: #t1_id, #t1_name, #t2_name
Join: t1_id = t2_id
Filter: #t1_id Gt Int64(0) And #t2_id Lt Int64(99)
TableScan: t1 projection=Some([0, 1])
Filter: #t1_id Gt Int64(0) And #t2_id Lt Int64(99)
TableScan: t2 projection=Some([0, 1]):
ArrowError(InvalidArgumentError("Unable to get field named \"t2_id\". Valid
fields: [\"t1_id\", \"t1_name\"]"))', datafusion/tests/sql.rs:1262:48
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
{code}
> [Rust] [DataFusion] Predicate push down does not support joins correctly
> ------------------------------------------------------------------------
>
> Key: ARROW-10760
> URL: https://issues.apache.org/jira/browse/ARROW-10760
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust - DataFusion
> Reporter: Andy Grove
> Priority: Major
> Fix For: 3.0.0
>
>
> Se this ignored test in tests/sql.rs for an example (once
> [https://github.com/apache/arrow/pull/8785] is merged)
> {code:java}
> ---- equijoin_implicit_syntax_with_filter stdout ----
> thread 'equijoin_implicit_syntax_with_filter' panicked at 'Creating physical
> plan for 'SELECT t1_id, t1_name, t2_name FROM t1, t2 WHERE t1_id > 0 AND
> t1_id = t2_id AND t2_id < 99 ORDER BY t1_id': Sort: #t1_id ASC NULLS FIRST
> Projection: #t1_id, #t1_name, #t2_name
> Join: t1_id = t2_id
> Filter: #t1_id Gt Int64(0) And #t2_id Lt Int64(99)
> TableScan: t1 projection=Some([0, 1])
> Filter: #t1_id Gt Int64(0) And #t2_id Lt Int64(99)
> TableScan: t2 projection=Some([0, 1]):
> ArrowError(InvalidArgumentError("Unable to get field named \"t2_id\". Valid
> fields: [\"t1_id\", \"t1_name\"]"))', datafusion/tests/sql.rs:1262:48
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)