chore(promql): import parent items through crate paths

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
This commit is contained in:
Dennis Zhuang
2026-10-18 01:23:02 +08:00
parent 4969bca60e
commit 47f89b34b7
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ use datatypes::series::histogram::HistogramBatchBuilder;
use datatypes::series::samples::{SampleRef, Samples, Series, SeriesFields, SeriesSchema};
use datatypes::series::time::{GridRange, TimeAxis};
use super::float_histogram::FloatHistogram;
use super::grid_range;
use crate::histogram_eval::float_histogram::FloatHistogram;
use crate::histogram_eval::grid_range;
/// A native histogram aggregation.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
@@ -26,7 +26,7 @@ use datatypes::series::histogram::{
BucketSideView, CounterResetHint, HistogramBatchBuilder, HistogramView,
};
use super::native::{CUSTOM_BUCKETS_SCHEMA, bound, kahan_inc};
use crate::histogram_eval::native::{CUSTOM_BUCKETS_SCHEMA, bound, kahan_inc};
type Buckets = Vec<(i32, f64)>;
+1 -1
View File
@@ -18,7 +18,7 @@
use datafusion::error::{DataFusionError, Result};
use datatypes::series::histogram::{BucketSideView, HistogramView};
use super::bounds::EXPONENTIAL_BOUNDS;
use crate::histogram_eval::bounds::EXPONENTIAL_BOUNDS;
pub(super) const CUSTOM_BUCKETS_SCHEMA: i32 = -53;
+1 -1
View File
@@ -18,8 +18,8 @@
//! operation order. Arithmetic that GreptimeDB's range UDFs compute the same way is shared with
//! them.
use super::{FloatWindow, WindowKernel};
use crate::functions::{EdgeKind, add_counter_resets, count_edges, extremum, instant_delta};
use crate::range_eval::{FloatWindow, WindowKernel};
/// A PromQL range-vector function over float samples.
#[derive(Clone, Copy, Debug, PartialEq)]