From eebfbf5d663ce67306b327b66e5bda3031a06740 Mon Sep 17 00:00:00 2001 From: alosslessdev Date: Thu, 5 Nov 2026 02:14:39 -0500 Subject: [PATCH] dax: give each evaluator family its own registry marker line (#2228) --- crates/dax/src/eval.rs | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/crates/dax/src/eval.rs b/crates/dax/src/eval.rs index 6f17f58cf..d3117bad2 100644 --- a/crates/dax/src/eval.rs +++ b/crates/dax/src/eval.rs @@ -35,6 +35,24 @@ mod support; +// The evaluator families link themselves in here and in `FAMILIES` below. Each family owns one +// marker line in both lists, in `ALL_FAMILIES` order, so a family branch replaces exactly its own +// line instead of inserting at a shared anchor and conflicting with its siblings. +// aggregation +// date_time +// filter +// financial +// information +// logical +// math_trig +// model_info +// other +// parent_child +// statistical +// table_manipulation +// text +// time_intelligence +// visual use std::cmp::Ordering; use std::collections::{BTreeMap, BTreeSet}; @@ -86,8 +104,25 @@ pub const ALL_FAMILIES: &[&str] = &[ /// /// The catalog-wide audits in `tests/` read this to tell a function whose family is not linked /// from one that genuinely lacks an evaluator path: the "every catalogued function evaluates" -/// assertion only holds for a build that links all of [`ALL_FAMILIES`]. -const FAMILIES: &[Family] = &[]; +/// assertion only holds for a build that links all of [`ALL_FAMILIES`]. Each family replaces its +/// own marker line below with its `Family` entry. +const FAMILIES: &[Family] = &[ + // aggregation + // date_time + // filter + // financial + // information + // logical + // math_trig + // model_info + // other + // parent_child + // statistical + // table_manipulation + // text + // time_intelligence + // visual +]; /// The names of the evaluator families linked into this build, in dispatch order. pub fn linked_families() -> impl Iterator {