You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 20d2923
Browse filesBrowse the repository at this point in the historyBrowse files
chore: fix the small nits collected from clean reviews (#745)
refactor(types)!: make fixed_interval_ms a QueryRecurrence method
The free function workload_candidates::fixed_interval_ms(&recurrence)
read only its argument, and Stage 2 imported it from Stage 1. It is now
QueryRecurrence::fixed_interval_ms(&self) in asap-types, next to the
type, with a test of every recurrence form.
refactor(logical-asap-optimization)!: keep the HLL failure statistic format crate-private
hll::classic_failure_statistic was public only so a Stage 3 test could
build the statistic it binds. It is pub(crate) again, and the test uses
test_support::hll_classic_failure_statistic, compiled only with the
test-support feature.
The crate docs said Stage 1 never depends on a front end; with
test-support on it depends on asap-frontend-promql to lower test
queries. Say so.
refactor(logical-asap-optimization): name capability sharing candidates by what they are
The locals holding CapabilitySharingCandidate values were still called
groups/group/group_options; name them candidates/candidate.
fix(executor): look through every time shift below a precompute range
boundary_schema skipped at most one TimeShift between a TimeRange and its
time series scan, so a range over stacked shifts was taken for a stored
summary population and failed with "stored population requires one
typed summary state". Follow every shift.
fix(dag-viewer): judge costlier vs rejected by the rejection cause
The Stage 3 list called a candidate "costlier" when the document had
its cost and "rejected" otherwise, not by the cause Stage 3 wrote. It
now reads the cause: a failed check (FAILED_CHECK_CAUSES) is rejected,
a loss under the cost model is costlier.
The failed-check cause list was also copied into the stage_pipeline and
viewer tests. The Rust test now deserializes the cause into
RejectionCause (which derives Deserialize) and asks failed_a_check; the
viewer test reads FAILED_CHECK_CAUSES from stages.js.
refactor(plan-selection): key raw data by source, not its Debug text
Stage 3 kept the largest query-time scan per source in a map keyed by
format!("{source:?}"). Key it by the Source itself (which now derives
Hash). Restore "CPU" in the measured_operation_costs module doc: the
table prices a sketch node's CPU, not the whole node.
0 commit comments