Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to push down full filter before break-up #5367

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

avantgardnerio
Copy link
Contributor

@avantgardnerio avantgardnerio commented Feb 22, 2023

Which issue does this PR close?

Closes #5357.

Rationale for this change

Allow TableProviders with multi-column indexes to fully filter results. Presently, if a TableProvider is ordered by [col_a, col_b], and it gets a query where col_a=1 and col_b=2, then it receives two calls to supports_filter_pushdown(): one for col_a and one for col_b and it would have to return exact for col_a and Unsupported for col_b because it can filter them together, and it can filter col_a because it's first in the sort order, but it cannot filter col_b on it's own.

This change would allow the TableProvider to say "Yes, I can filter expressions like col_a = x and col_b = y.

What changes are included in this PR?

Change the TableProvider API to have a single method that accepts the entire Vec of Exprs and returns a Vec of results so the TableProvider can assess them all wholistically.

Are these changes tested?

yes.

Are there any user-facing changes?

No

@github-actions github-actions bot added the optimizer Optimizer rules label Feb 22, 2023
@avantgardnerio
Copy link
Contributor Author

As an alternative to jumping to full support of ordered indexes, here is a lighter weight PR that would still unblock me.

@alamb
Copy link
Contributor

alamb commented Feb 23, 2023

I have a question / comment: #5357 (comment)

Copy link
Member

@yjshen yjshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

) -> Result<Vec<TableProviderFilterPushDown>> {
filters
.iter()
.map(|f| self.supports_filter_pushdown(f))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@thinkharderdev thinkharderdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me

datafusion/optimizer/src/push_down_filter.rs Outdated Show resolved Hide resolved
@avantgardnerio
Copy link
Contributor Author

These tests are showing up as broken in this branch, but they appear to be broken in main as well:

expected:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      Subquery: [t1_int:UInt32;N]",
    "        Projection: t1.t1_int [t1_int:UInt32;N]",
    "          Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "            TableScan: t1 [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
]
actual:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    Subquery: [t1_int:UInt32;N]",
    "      Projection: t1.t1_int [t1_int:UInt32;N]",
    "        Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "          TableScan: t1 [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
]


Left:  ["Explain [plan_type:Utf8, plan:Utf8]", "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "      Subquery: [t1_int:U ...

Right: ["Explain [plan_type:Utf8, plan:Utf8]", "  Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    Subquery: [t1_int:UInt32;N]", "      Projection: t1.t1_int [t1_int:UInt32;N]", "        Filter: t1.t1_id > t1.t1_int [t1_i ...

<Click to see difference>

thread 'sql::subqueries::exists_subquery_with_same_table' panicked at 'assertion failed: `(left == right)`
  left: `["Explain [plan_type:Utf8, plan:Utf8]", "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "      Subquery: [t1_int:UInt32;N]", "        Projection: t1.t1_int [t1_int:UInt32;N]", "          Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "            TableScan: t1 [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "      TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]"]`,
 right: `["Explain [plan_type:Utf8, plan:Utf8]", "  Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    Subquery: [t1_int:UInt32;N]", "      Projection: t1.t1_int [t1_int:UInt32;N]", "        Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "          TableScan: t1 [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]"]`: 

expected:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      Subquery: [t1_int:UInt32;N]",
    "        Projection: t1.t1_int [t1_int:UInt32;N]",
    "          Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "            TableScan: t1 [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
]
actual:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  Filter: EXISTS (<subquery>) [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    Subquery: [t1_int:UInt32;N]",
    "      Projection: t1.t1_int [t1_int:UInt32;N]",
    "        Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "          TableScan: t1 [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
]

', datafusion/core/tests/sql/subqueries.rs:143:5
stack backtrace:
   0: rust_begin_unwind
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/panicking.rs:64:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/panicking.rs:211:5
   4: sql_integration::sql::subqueries::exists_subquery_with_same_table::{{closure}}
             at ./tests/sql/subqueries.rs:143:5
   5: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/future/future.rs:125:9
   6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:525:48
   7: tokio::coop::with_budget::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/coop.rs:102:9
   8: std::thread::local::LocalKey<T>::try_with
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/std/src/thread/local.rs:446:16
   9: std::thread::local::LocalKey<T>::with
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/std/src/thread/local.rs:422:9
  10: tokio::coop::with_budget
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/coop.rs:95:5
  11: tokio::coop::budget
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/coop.rs:72:5
  12: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:525:25
  13: tokio::runtime::scheduler::current_thread::Context::enter
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:349:19
  14: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:524:36
  15: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:595:57
  16: tokio::macros::scoped_tls::ScopedKey<T>::set
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/macros/scoped_tls.rs:61:9
  17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:595:27
  18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:515:19
  19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:161:24
  20: tokio::runtime::Runtime::block_on
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/mod.rs:490:46
  21: sql_integration::sql::subqueries::exists_subquery_with_same_table
             at ./tests/sql/subqueries.rs:148:5
  22: sql_integration::sql::subqueries::exists_subquery_with_same_table::{{closure}}
             at ./tests/sql/subqueries.rs:121:47
  23: core::ops::function::FnOnce::call_once
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/ops/function.rs:250:5
  24: core::ops::function::FnOnce::call_once
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.




expected:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      SubqueryAlias: __correlated_sq_1 [t1_int:UInt32;N]",
    "        Projection: t1.t1_int AS t1_int [t1_int:UInt32;N]",
    "          Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_int:UInt32;N]",
    "            TableScan: t1 projection=[t1_id, t1_int] [t1_id:UInt32;N, t1_int:UInt32;N]",
]
actual:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    SubqueryAlias: __correlated_sq_1 [t1_int:UInt32;N]",
    "      Projection: t1.t1_int AS t1_int [t1_int:UInt32;N]",
    "        Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_int:UInt32;N]",
    "          TableScan: t1 projection=[t1_id, t1_int] [t1_id:UInt32;N, t1_int:UInt32;N]",
]


Left:  ["Explain [plan_type:Utf8, plan:Utf8]", "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "   ...

Right: ["Explain [plan_type:Utf8, plan:Utf8]", "  LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N] ...

<Click to see difference>

thread 'sql::subqueries::in_subquery_with_same_table' panicked at 'assertion failed: `(left == right)`
  left: `["Explain [plan_type:Utf8, plan:Utf8]", "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "      TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "      SubqueryAlias: __correlated_sq_1 [t1_int:UInt32;N]", "        Projection: t1.t1_int AS t1_int [t1_int:UInt32;N]", "          Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_int:UInt32;N]", "            TableScan: t1 projection=[t1_id, t1_int] [t1_id:UInt32;N, t1_int:UInt32;N]"]`,
 right: `["Explain [plan_type:Utf8, plan:Utf8]", "  LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]", "    SubqueryAlias: __correlated_sq_1 [t1_int:UInt32;N]", "      Projection: t1.t1_int AS t1_int [t1_int:UInt32;N]", "        Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_int:UInt32;N]", "          TableScan: t1 projection=[t1_id, t1_int] [t1_id:UInt32;N, t1_int:UInt32;N]"]`: 

expected:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  Projection: t1.t1_id, t1.t1_name, t1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "      SubqueryAlias: __correlated_sq_1 [t1_int:UInt32;N]",
    "        Projection: t1.t1_int AS t1_int [t1_int:UInt32;N]",
    "          Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_int:UInt32;N]",
    "            TableScan: t1 projection=[t1_id, t1_int] [t1_id:UInt32;N, t1_int:UInt32;N]",
]
actual:

[
    "Explain [plan_type:Utf8, plan:Utf8]",
    "  LeftSemi Join: t1.t1_id = __correlated_sq_1.t1_int [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    TableScan: t1 projection=[t1_id, t1_name, t1_int] [t1_id:UInt32;N, t1_name:Utf8;N, t1_int:UInt32;N]",
    "    SubqueryAlias: __correlated_sq_1 [t1_int:UInt32;N]",
    "      Projection: t1.t1_int AS t1_int [t1_int:UInt32;N]",
    "        Filter: t1.t1_id > t1.t1_int [t1_id:UInt32;N, t1_int:UInt32;N]",
    "          TableScan: t1 projection=[t1_id, t1_int] [t1_id:UInt32;N, t1_int:UInt32;N]",
]

', datafusion/core/tests/sql/subqueries.rs:174:5
stack backtrace:
   0: rust_begin_unwind
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/panicking.rs:64:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/panicking.rs:211:5
   4: sql_integration::sql::subqueries::in_subquery_with_same_table::{{closure}}
             at ./tests/sql/subqueries.rs:174:5
   5: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/future/future.rs:125:9
   6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:525:48
   7: tokio::coop::with_budget::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/coop.rs:102:9
   8: std::thread::local::LocalKey<T>::try_with
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/std/src/thread/local.rs:446:16
   9: std::thread::local::LocalKey<T>::with
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/std/src/thread/local.rs:422:9
  10: tokio::coop::with_budget
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/coop.rs:95:5
  11: tokio::coop::budget
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/coop.rs:72:5
  12: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:525:25
  13: tokio::runtime::scheduler::current_thread::Context::enter
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:349:19
  14: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:524:36
  15: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:595:57
  16: tokio::macros::scoped_tls::ScopedKey<T>::set
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/macros/scoped_tls.rs:61:9
  17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:595:27
  18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:515:19
  19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/scheduler/current_thread.rs:161:24
  20: tokio::runtime::Runtime::block_on
             at /home/bgardner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.21.2/src/runtime/mod.rs:490:46
  21: sql_integration::sql::subqueries::in_subquery_with_same_table
             at ./tests/sql/subqueries.rs:179:5
  22: sql_integration::sql::subqueries::in_subquery_with_same_table::{{closure}}
             at ./tests/sql/subqueries.rs:152:43
  23: core::ops::function::FnOnce::call_once
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/ops/function.rs:250:5
  24: core::ops::function::FnOnce::call_once
             at /rustc/75a0be98f25a4b9de5afa0e15eb016e7f9627032/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


@avantgardnerio avantgardnerio force-pushed the bg_pushdown branch 2 times, most recently from ed4f554 to 3e34c53 Compare February 26, 2023 00:28
@avantgardnerio avantgardnerio merged commit fad360d into apache:main Feb 26, 2023
@avantgardnerio avantgardnerio deleted the bg_pushdown branch February 26, 2023 02:05
@ursabot
Copy link

ursabot commented Feb 26, 2023

Benchmark runs are scheduled for baseline = 38185ca and contender = fad360d. fad360d is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logical-expr Logical plan and expressions optimizer Optimizer rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

supports_filter_pushdown() receives broken-up filters
5 participants