-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt: Propagate null counts through statsbuilder
This change takes null counts that are already collected in table statistics, and propagates them through the different operators in statistics_builder. It also uses these null counts to generate selectivities which are then applied to the row count. The expectation is that this change will lead to much better cardinality estimation, especially in workloads involving lots of null values that get filtered out by an operator or constraint. Previously, we treated null counts like any other distinct value. Fixes #30289 Release note: None
- Loading branch information
Showing
40 changed files
with
1,854 additions
and
1,448 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
Oops, something went wrong.