dax: align the storage and functions-reference docs with the typed aggregates (#2228)

This commit is contained in:
alosslessdev
2026-11-05 15:32:30 -05:00
parent 2464b4f6aa
commit ccb757dff2
2 changed files with 9 additions and 4 deletions
+5 -3
View File
@@ -59,9 +59,11 @@
//! [`TableStorage::numeric_values`] and [`TableStorage::distinct_values`] for the aggregate fast
//! paths, `VALUES`/`DISTINCT` and the statistical aggregates. The typed exact aggregates
//! ([`TableStorage::sum`], [`TableStorage::min`], [`TableStorage::max`],
//! [`TableStorage::aggregate`]) stay the API for typed consumers; the evaluator derives the six
//! numeric DAX aggregates from [`TableStorage::numeric_values`] because DAX's `SUM`/`MIN`/`MAX`
//! are defined over `f64` observations in this evaluator, not over an exact integer total.
//! [`TableStorage::aggregate`]) stay the API for typed consumers. The evaluator reads
//! `SUM`/`AVERAGE`/`PRODUCT` from [`TableStorage::numeric_values`] (DAX defines them over `f64`
//! observations) and `MIN`/`MAX` from [`TableStorage::min`]/[`TableStorage::max`], which return
//! the winning value with its own type — an Int64 column answers an Integer, a date column a
//! DateTime.
//!
//! What still scans model rows: `FILTER`, `ADDCOLUMNS`, `TOPN` and every other function that
//! evaluates an expression per row, because those need a row context; plus any model that is not
+4 -1
View File
@@ -107,8 +107,11 @@ adds its dispatch and its own suite under `crates/dax/tests/`. The lists below a
## Notes
- `Evaluated` means a dispatch arm exists in one of the family modules under
- `Evaluated` means a dispatch path exists: either the built-in switch in
`crates/dax/src/eval.rs` (`Evaluator::eval`/`call_table`) or a family module under
`crates/dax/src/eval/`; table-valued functions are counted when they have a `call_table` path.
In this crate only the built-in switch is linked (`FAMILIES` is empty), which is the subset the
scope paragraph above lists.
- Engine-only functions (internal filter clusters, `INFO.*` storage views, visual calculations)
have no evaluator in this crate: like every other catalogued name outside the scalar core they
report `not implemented` until the family that owns them is linked. Where a family is linked it