Skip to content

Commit 7fa9cc6

Browse files
committed
refactor: drop obsolete physical family normalization after DAG integration
1 parent b450989 commit 7fa9cc6

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

‎control_plane/src/physical/compiler.rs‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3999,26 +3999,6 @@ fn collect_selected_materializations(
39993999
Ok(selected)
40004000
}
40014001

4002-
pub(crate) fn physical_materialization_family(family: &SummaryFamilyType) -> SummaryFamilyType {
4003-
match family {
4004-
SummaryFamilyType::ExactAggregate(planner_types::post_asap::ExactKind::Count, _) => {
4005-
// The SummaryStore Sum accumulator retains the observation count
4006-
// alongside its sum. Both logical states can share this producer.
4007-
SummaryFamilyType::ExactAggregate(
4008-
planner_types::post_asap::ExactKind::Sum,
4009-
planner_types::post_asap::ExactParams::Sum,
4010-
)
4011-
}
4012-
SummaryFamilyType::ExactAggregate(planner_types::post_asap::ExactKind::Rate, _) => {
4013-
SummaryFamilyType::ExactAggregate(
4014-
planner_types::post_asap::ExactKind::Increase,
4015-
planner_types::post_asap::ExactParams::Increase,
4016-
)
4017-
}
4018-
_ => family.clone(),
4019-
}
4020-
}
4021-
40224002
pub(crate) fn sketch_params_json(params: &planner_types::post_asap::SketchParams) -> Value {
40234003
use planner_types::post_asap::SketchParams as P;
40244004
match params {

0 commit comments

Comments
 (0)