dm_apply_filters_impl() should be a reduce(~ dm_get_filtered_table(...)) , not a map(...) , with a suitable ordering of the tables.
Trigger: tidyverse/duckplyr#441 .
Needs duckdb/duckdb-r#949 to show an effect with duckplyr.
For remote databases (and duck tables), perhaps we want to materialize a "skeleton dm", with only the keys?