Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Eridanus117 committed Mar 13, 2023
1 parent 8556c8c commit 9ce193f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/expr/src/expr/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,18 @@ pub fn make_hop_window_expression(
LiteralExpression::new(DataType::Interval, Some(ScalarImpl::Interval(window_slide)))
.boxed();

let window_slide_expr =
LiteralExpression::new(DataType::Interval, Some(ScalarImpl::Interval(window_slide)))
.boxed();
let window_offset_expr = LiteralExpression::new(
DataType::Interval,
Some(ScalarImpl::Interval(window_offset)),
)
.boxed();

let hop_start = new_tumble_start_offset(
time_col_ref,
window_slide_expr,
offset_expr,
window_offset_expr,
output_type.clone(),
);
)?;
Ok(hop_start)
};

Expand Down

0 comments on commit 9ce193f

Please sign in to comment.