-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize: add
reoptimize_imported_views
config flag
Forcing `DataflowBuilder::reoptimize_imported_views` to reoptimize all catalog-backed views imported in the `DataflowDescription` in every possible `EXPLAIN` run is a bit of an overkill. Instead, we should enable work in this method call only when one of the overrides of `OptimizerConfig` (`CREATE CLUSTER ... FEATURES(...)` or `EXPLAIN PLAN WITH(...)`) explicitly sets the value of a feature flag that influences an optimizer stage that runs before we produce the locally optimized `MirRelationExpr`.
- Loading branch information
1 parent
52402c2
commit 8476351
Showing
2 changed files
with
8 additions
and
2 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