Skip to content

Commit

Permalink
Minor: copy edit
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsherin committed Oct 12, 2024
1 parent d7ee287 commit 4fe2135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/functions-window/src/lead_lag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl WindowShiftKind {

/// In [`WindowShiftEvaluator`] a positive offset is used to signal
/// computation of `lag()`. So here we negate the input offset
/// value for computing `lead()`.
/// value when computing `lead()`.
fn shift_offset(&self, value: Option<i64>) -> i64 {
match self {
WindowShiftKind::Lag => value.unwrap_or(1),
Expand Down

0 comments on commit 4fe2135

Please sign in to comment.