pub fn can_use_two_phase(function_names: &[&str]) -> boolExpand description
Check if all functions in a query support two-phase execution.
Returns false for empty input or if any function is not two-phase
compatible.
ยงExamples
use laminar_core::aggregation::two_phase::can_use_two_phase;
assert!(can_use_two_phase(&["COUNT", "SUM", "AVG"]));
assert!(!can_use_two_phase(&["COUNT", "MEDIAN"]));
assert!(!can_use_two_phase(&[]));