-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize materialized_views with schema IN predicate
Before the changes, `system.metadata.materialized_views` queried with `schema_name IN ...` predicate would first read all materialized views from all schemas within catalog, and only then filter by schema. This commit introduces filtering by schema first. For now this is done on the engine side, but with something like generified `Constraint` class we could give the connector the opportunity to process the information even better.
- Loading branch information
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters