Expand description
Session-registered derivations of a scalar function’s result statistics from the statistics of its inputs.
Stats rewrite rules bound sub-expressions of a predicate, such as the min and max of
cast(col) in cast(col) > 5. Statistics are stored only for columns, so a statistic of
cast(col) must be expressed in terms of the statistics of col. A StatDerivation
registered for a scalar function says how.
Traits§
- Stat
Derivation - Expresses the statistics of a scalar function’s result in terms of the statistics of its inputs.
Functions§
- stat_
expr - Expresses the statistic
aggregate_fnofexpras an expression over the statistics that can be read for the current scope.
Type Aliases§
- Stat
Derivation Ref - Shared reference to a statistic derivation.