Merge pull request #2578 from quickwit-oss/1686a/buildable-histo-agg

make DateHistogramAggregationReq buildable
This commit is contained in:
trinity-1686a
2025-02-18 15:30:54 +01:00
committed by GitHub

View File

@@ -34,10 +34,10 @@ use crate::aggregation::*;
pub struct DateHistogramAggregationReq {
#[doc(hidden)]
/// Only for validation
interval: Option<String>,
pub interval: Option<String>,
#[doc(hidden)]
/// Only for validation
calendar_interval: Option<String>,
pub calendar_interval: Option<String>,
/// The field to aggregate on.
pub field: String,
/// The format to format dates. Unsupported currently.