Commit 133fd85
committed
Add built-in operator statistics providers
Adds chain-of-responsibility providers for common physical operators:
- FilterStatisticsProvider: selectivity-based output estimation using
pre-enhanced child statistics, with post-filter NDV adjustment
- ProjectionStatisticsProvider: passthrough with column mapping
- PassthroughStatisticsProvider: cardinality-preserving operators
(Sort, Repartition, Window, etc.) via CardinalityEffect
- AggregateStatisticsProvider: NDV-product estimation for GROUP BY,
delegates for Partial mode and multiple grouping sets (apache#20926)1 parent ff3f8f8 commit 133fd85
2 files changed
+1140
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
0 commit comments