-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compute and propagate logical properties
Logical properties are initially derived from constraints defined for base tables and from properties of values nodes.These logical properties hold for the result table produced by a plan node. These base logical properties are then propagated through various query operations including filters, projects, joins, and aggregations. Logical properties are only computed by iterative planners that pass a logical property provider as input. See the design doc linked from issue 16413 for futher details. Such optimizers will be introduced by next commit; however, there are test cases in this commit that trigger logical property propgation. Note that if the session variable exploit_constraints=false (the default now) no attempt is made to compute logical properties and hence optimization rules that seek them out will simply fail to fire.
- Loading branch information
Showing
31 changed files
with
4,466 additions
and
25 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
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
Oops, something went wrong.