Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
killme2008 committed Dec 6, 2023
1 parent f3fcfb8 commit 57826ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/function/src/scalars/date/date_add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use snafu::ensure;
use crate::helper;
use crate::scalars::function::{Function, FunctionContext};

/// A function adds a interval value to Timestamp, Date or DateTime, and return the result.
/// A function adds an interval value to Timestamp, Date or DateTime, and return the result.
#[derive(Clone, Debug, Default)]
pub struct DateAddFunction;

Expand Down
2 changes: 1 addition & 1 deletion src/common/function/src/scalars/date/date_sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use snafu::ensure;
use crate::helper;
use crate::scalars::function::{Function, FunctionContext};

/// A function subtracts a interval value to Timestamp, Date or DateTime, and return the result.
/// A function subtracts an interval value to Timestamp, Date or DateTime, and return the result.
#[derive(Clone, Debug, Default)]
pub struct DateSubFunction;

Expand Down

0 comments on commit 57826ad

Please sign in to comment.