We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b1e451 commit 7ae40d3Copy full SHA for 7ae40d3
extension/src/state_aggregate.rs
@@ -875,7 +875,7 @@ pub fn duration_in_range<'a>(
875
state: String,
876
aggregate: Option<StateAgg<'a>>,
877
start: TimestampTz,
878
- interval: Option<crate::raw::Interval>,
+ interval: default!(Option<crate::raw::Interval>, "NULL"),
879
) -> crate::raw::Interval {
880
if let Some(ref aggregate) = aggregate {
881
aggregate.assert_str()
@@ -902,7 +902,7 @@ pub fn duration_in_range_int<'a>(
902
state: i64,
903
904
905
906
907
908
aggregate.assert_int()
0 commit comments