You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think i recall someone saying the quote above sometime earlier this week & it got me thinking more about pushdowns.
Many of our datasources support complex pushdowns beyond the common predicate & projection pushdowns.
It'd be a really cool feature if we could push down all possible parts of the query to the underlying source, falling back to in-memory when not possible to push down.
Each source may support varying levels of pushdowns, but something like postgres, you should be able to push down the majority of the query.
Nodes with multiple children (join/union) get pretty tricky as we could easily determine if it's of the same kind, but we'd also need to compare to make sure it is the same table provider as well.
Implementation notes
I think we'd need to
implement create_physical_expr for our different datasources (sql dialects + mongo).
create a physical plan optimization rule that pushes all nodes down as far as possible.
some means of comparing the table provider to ensure they are in fact the same datasource.
We could probably start really simple & implement #1507 then follow up with trying to push down something really simple like a UniqueExec or SortExec.
The text was updated successfully, but these errors were encountered:
Description
I think i recall someone saying the quote above sometime earlier this week & it got me thinking more about pushdowns.
Many of our datasources support complex pushdowns beyond the common predicate & projection pushdowns.
It'd be a really cool feature if we could push down all possible parts of the query to the underlying source, falling back to in-memory when not possible to push down.
Each source may support varying levels of pushdowns, but something like postgres, you should be able to push down the majority of the query.
Nodes with multiple children (join/union) get pretty tricky as we could easily determine if it's of the same kind, but we'd also need to compare to make sure it is the same table provider as well.
Implementation notes
I think we'd need to
create_physical_expr
for our different datasources (sql dialects + mongo).We could probably start really simple & implement #1507 then follow up with trying to push down something really simple like a
UniqueExec
orSortExec
.The text was updated successfully, but these errors were encountered: