-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix materialized_views filters when listing relations
Before the change, the `list_relations_without_caching` macro queried `system.metadata.materialized_views` with no effective filter on the catalog and schema name. In theory the Trino optimizer could figure out the effective predicate on the `system.metadata.materialized_views` table, but in practice it was not happening, and all materialized views from all catalogs where being pulled.
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
kind: Fixes | ||
body: Fix materialized_views filters when listing relations | ||
time: 2023-09-27T12:44:54.858517+02:00 | ||
custom: | ||
Author: findepi | ||
Issue: "" | ||
PR: "353" |
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