Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions asap-query-engine/src/engines/warm_tier/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! [`crate::engines::simple::engine::SimpleEngine`]'s
//! `QueryEngine::execute` adapter: parse the PromQL, extract
//! `(metric_name, label_keys)`, look up candidate sids via
//! [`crate::stores::sketch_index::SketchIndex::instances_matching`],
//! [`crate::stores::sketch_db::sketch_index::SketchIndex::instances_matching`],
//! and classify each sid. On `Ghost`/`Unknown`, return
//! `EngineError::CapabilityMiss(SketchWarmTier, …)` so the
//! `EngineRouter` fails over to the archive engine.
Expand All @@ -14,7 +14,7 @@
//! that fall-through with **direct sketch evaluation** from
//! [`SketchIndex::query_range`]'s output: deserialize each
//! window's sketch state, dispatch on the per-instance
//! [`crate::stores::sketch_index::Capability`], and reduce to a
//! [`crate::stores::sketch_db::sketch_index::Capability`], and reduce to a
//! per-window scalar via the canonical sketch query (DDSketch /
//! KLL → quantile, HLL → cardinality estimate, CMS / CountSketch
//! → frequency point query, CMS-with-heap → top-k items).
Expand Down
2 changes: 1 addition & 1 deletion asap-query-engine/src/engines/warm_tier/sketch_reducer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ use asap_sketchlib::sketches::kll::KllSketch;
use asap_sketchlib::sketches::countminsketch::CountMinSketch;
use asap_sketchlib::sketches::countsketch::CountSketch;

use crate::stores::sketch_index::{
use crate::stores::sketch_db::sketch_index::{
Capability, SketchEncoding, SketchIndex, SketchInstanceMetadata, SketchKindHandle,
SketchSampleState,
};
Expand Down
2 changes: 1 addition & 1 deletion asap-query-engine/src/engines/warm_tier/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use asap_sketchlib::sketches::ddsketch::DdSketch;
use asap_sketchlib::sketches::hll::{HllSketch, HllVariant};

use crate::engines::warm_tier::{SketchReducer, WarmTierError};
use crate::stores::sketch_index::{
use crate::stores::sketch_db::sketch_index::{
AccuracyBound, Capability, SketchConfig, SketchEncoding, SketchIndex,
SketchInstanceMetadata, SketchKindHandle, SketchSampleState,
};
Expand Down