feat: add a cache for last value result in row group (#4369)

* feat: add selector result cache to cache manager

* feat: expose config
This commit is contained in:
Yingwen
2024-07-15 20:33:36 +08:00
committed by GitHub
parent 2b912d93fb
commit 2e7b12c344
6 changed files with 135 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ use datafusion_expr::expr::Expr;
use strum::Display;
/// A hint on how to select rows from a time-series.
#[derive(Clone, Debug, PartialEq, Eq, Display)]
#[derive(Debug, Clone, PartialEq, Eq, Hash, Display)]
pub enum TimeSeriesRowSelector {
/// Only keep the last row of each time-series.
LastRow,