Push down quals
in foreign table scan
#47
Labels
feature
New feature or request
good first issue
Good for newcomers
priority-medium
Medium priority issue
What
The
begin_scan
function of the foreign data wrapper ignoresquals
, which means that predicates are not pushed down to DuckDB in the case that the query falls back to the FDW scan.Why
Pushing down quals will make queries that fall back to the FDW faster. Could be useful for federated joins.
How
Parse
quals
and add them to the DuckDB query. I believe the clickhouse_fdw has a good implementation for this.The text was updated successfully, but these errors were encountered: